2022-03-27 20:38:29 +08:00
{
"data" : {
"question" : {
"questionId" : "2302" ,
"questionFrontendId" : "2159" ,
"categoryTitle" : "Database" ,
"boundTopicId" : 1245904 ,
"title" : "Order Two Columns Independently" ,
"titleSlug" : "order-two-columns-independently" ,
"content" : null ,
2023-12-09 18:42:21 +08:00
"translatedTitle" : "分别排序两列" ,
2022-03-27 20:38:29 +08:00
"translatedContent" : null ,
"isPaidOnly" : true ,
"difficulty" : "Medium" ,
2023-12-09 18:42:21 +08:00
"likes" : 4 ,
2022-03-27 20:38:29 +08:00
"dislikes" : 0 ,
"isLiked" : null ,
"similarQuestions" : "[]" ,
"contributors" : [ ] ,
"langToValidPlayground" : null ,
"topicTags" : [
{
"name" : "Database" ,
"slug" : "database" ,
"translatedName" : "数据库" ,
"__typename" : "TopicTagNode"
}
] ,
"companyTagStats" : null ,
"codeSnippets" : null ,
2023-12-09 18:42:21 +08:00
"stats" : "{\"totalAccepted\": \"1.5K\", \"totalSubmission\": \"2.5K\", \"totalAcceptedRaw\": 1547, \"totalSubmissionRaw\": 2518, \"acRate\": \"61.4%\"}" ,
2022-03-27 20:38:29 +08:00
"hints" : [ ] ,
"solution" : null ,
"status" : null ,
"sampleTestCase" : "{\"headers\":{\"Data\":[\"first_col\",\"second_col\"]},\"rows\":{\"Data\":[[4,2],[2,3],[3,1],[1,4]]}}" ,
2023-12-09 18:42:21 +08:00
"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\"}}}" ,
2022-03-27 20:38:29 +08:00
"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 ,
2023-12-09 18:42:21 +08:00
"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>\"]}" ,
2022-03-27 20:38:29 +08:00
"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"
}
}
}