1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]order-two-columns-independently.json

60 lines
3.3 KiB
JSON

{
"data": {
"question": {
"questionId": "2302",
"questionFrontendId": "2159",
"categoryTitle": "Database",
"boundTopicId": 1245904,
"title": "Order Two Columns Independently",
"titleSlug": "order-two-columns-independently",
"content": null,
"translatedTitle": "分别排序两列",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 4,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"1.5K\", \"totalSubmission\": \"2.5K\", \"totalAcceptedRaw\": 1547, \"totalSubmissionRaw\": 2518, \"acRate\": \"61.4%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Data\":[\"first_col\",\"second_col\"]},\"rows\":{\"Data\":[[4,2],[2,3],[3,1],[1,4]]}}",
"metaData": "{\"mysql\":[\"Create table If Not Exists Data (first_col int, second_col int)\"],\"mssql\":[\"Create table Data (first_col int, second_col int)\"],\"oraclesql\":[\"Create table Data (first_col int, second_col int)\"],\"database\":true,\"name\":\"order_two_columns\",\"pythondata\":[\"Data = pd.DataFrame([], columns=['first_col', 'second_col']).astype({'first_col':'Int64', 'second_col':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists Data (first_col int, second_col int)\"],\"database_schema\":{\"Data\":{\"first_col\":\"INT\",\"second_col\":\"INT\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Data (first_col int, second_col int)",
"Truncate table Data",
"insert into Data (first_col, second_col) values ('4', '2')",
"insert into Data (first_col, second_col) values ('2', '3')",
"insert into Data (first_col, second_col) values ('3', '1')",
"insert into Data (first_col, second_col) values ('1', '4')"
],
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Data\":[\"first_col\",\"second_col\"]},\"rows\":{\"Data\":[[4,2],[2,3],[3,1],[1,4]]}}",
"__typename": "QuestionNode"
}
}
}