1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]dynamic-pivoting-of-a-table.json

55 lines
3.2 KiB
JSON

{
"data": {
"question": {
"questionId": "2381",
"questionFrontendId": "2252",
"categoryTitle": "Database",
"boundTopicId": 1447354,
"title": "Dynamic Pivoting of a Table",
"titleSlug": "dynamic-pivoting-of-a-table",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
"likes": 0,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"16\", \"totalSubmission\": \"32\", \"totalAcceptedRaw\": 16, \"totalSubmissionRaw\": 32, \"acRate\": \"50.0%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Products\":[\"product_id\",\"store\",\"price\"]},\"rows\":{\"Products\":[[1,\"Shop\",110],[1,\"LC_Store\",100],[2,\"Nozama\",200],[2,\"Souq\",190],[3,\"Shop\",1000],[3,\"Souq\",1900]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Products (product_id int, store varchar(7), price int)\"\n ],\n \"mssql\": [\n \"Create table Products (product_id int, store varchar(7), price int)\"\n ],\n \"oraclesql\": [\n \"Create table Products (product_id int, store varchar(7), price int)\"\n ],\n \"database\": true,\n \"manual\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Products (product_id int, store varchar(7), price int)",
"Truncate table Products",
"insert into Products (product_id, store, price) values ('1', 'Shop', '110')",
"insert into Products (product_id, store, price) values ('1', 'LC_Store', '100')",
"insert into Products (product_id, store, price) values ('2', 'Nozama', '200')",
"insert into Products (product_id, store, price) values ('2', 'Souq', '190')",
"insert into Products (product_id, store, price) values ('3', 'Shop', '1000')",
"insert into Products (product_id, store, price) values ('3', 'Souq', '1900')"
],
"enableRunCode": true,
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Products\":[\"product_id\",\"store\",\"price\"]},\"rows\":{\"Products\":[[1,\"Shop\",110],[1,\"LC_Store\",100],[2,\"Nozama\",200],[2,\"Souq\",190],[3,\"Shop\",1000],[3,\"Souq\",1900]]}}",
"__typename": "QuestionNode"
}
}
}