{ "data": { "question": { "questionId": "1607", "questionFrontendId": "1459", "categoryTitle": "Database", "boundTopicId": 266481, "title": "Rectangles Area", "titleSlug": "rectangles-area", "content": null, "translatedTitle": "矩形面积", "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 20, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"6.7K\", \"totalSubmission\": \"10.8K\", \"totalAcceptedRaw\": 6748, \"totalSubmissionRaw\": 10775, \"acRate\": \"62.6%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Points\":[\"id\",\"x_value\",\"y_value\"]},\"rows\":{\"Points\":[[1,2,7],[2,4,8],[3,2,10]]}}", "metaData": "{\"mysql\":[\"Create table If Not Exists Points (id int, x_value int, y_value int)\"],\"mssql\":[\"Create table Points (id int, x_value int, y_value int)\"],\"oraclesql\":[\"Create table Points (id int, x_value int, y_value int)\"],\"database\":true,\"name\":\"rectangles_area\",\"pythondata\":[\"Points = pd.DataFrame([], columns=['id', 'x_value', 'y_value']).astype({'id':'Int64', 'x_value':'Int64', 'y_value':'Int64'})\"],\"postgresql\":[\"\\nCreate table If Not Exists Points (id int, x_value int, y_value int)\"],\"database_schema\":{\"Points\":{\"id\":\"INT\",\"x_value\":\"INT\",\"y_value\":\"INT\"}}}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Points (id int, x_value int, y_value int)", "Truncate table Points", "insert into Points (id, x_value, y_value) values ('1', '2', '7')", "insert into Points (id, x_value, y_value) values ('2', '4', '8')", "insert into Points (id, x_value, y_value) values ('3', '2', '10')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"
\\u7248\\u672c\\uff1a mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\" Oracle Sql 11.2.<\\/p>\"],\"pythondata\":[\"Pandas\",\" Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\" PostgreSQL 16<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Points\":[\"id\",\"x_value\",\"y_value\"]},\"rows\":{\"Points\":[[1,2,7],[2,4,8],[3,2,10]]}}",
"__typename": "QuestionNode"
}
}
}MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"