{ "data": { "question": { "questionId": "612", "questionFrontendId": "612", "categoryTitle": "Database", "boundTopicId": 2635, "title": "Shortest Distance in a Plane", "titleSlug": "shortest-distance-in-a-plane", "content": null, "translatedTitle": "平面上的最近距离", "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 32, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"9.9K\", \"totalSubmission\": \"14.9K\", \"totalAcceptedRaw\": 9875, \"totalSubmissionRaw\": 14901, \"acRate\": \"66.3%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Point2D\":[\"x\",\"y\"]},\"rows\":{\"Point2D\":[[-1,-1],[0,0],[-1,-2]]}}", "metaData": "{\n \"mysql\": [\n \"Create Table If Not Exists Point2D (x int not null, y int not null)\"\n ],\n \"mssql\": [\n \"Create Table Point2D (x int not null, y int not null)\"\n ],\n \"oraclesql\": [\n \"Create Table Point2D (x int not null, y int not null)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create Table If Not Exists Point2D (x int not null, y int not null)", "Truncate table Point2D", "insert into Point2D (x, y) values ('-1', '-1')", "insert into Point2D (x, y) values ('0', '0')", "insert into Point2D (x, y) values ('-1', '-2')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"
\\u7248\\u672c\\uff1a mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\" Oracle Sql 11.2.<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Point2D\":[\"x\",\"y\"]},\"rows\":{\"Point2D\":[[-1,-1],[0,0],[-1,-2]]}}",
"__typename": "QuestionNode"
}
}
}MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"