{ "data": { "question": { "questionId": "613", "questionFrontendId": "613", "categoryTitle": "Database", "boundTopicId": 2634, "title": "Shortest Distance in a Line", "titleSlug": "shortest-distance-in-a-line", "content": null, "translatedTitle": "直线上的最近距离", "translatedContent": null, "isPaidOnly": true, "difficulty": "Easy", "likes": 44, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"14.9K\", \"totalSubmission\": \"18.3K\", \"totalAcceptedRaw\": 14857, \"totalSubmissionRaw\": 18257, \"acRate\": \"81.4%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Point\":[\"x\"]},\"rows\":{\"Point\":[[-1],[0],[2]]}}", "metaData": "{\n \"mysql\": [\n \"Create Table If Not Exists Point (x int not null)\"\n ],\n \"mssql\": [\n \"Create Table Point (x int not null)\"\n ],\n \"oraclesql\": [\n \"Create Table Point (x int not null)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create Table If Not Exists Point (x int not null)", "Truncate table Point", "insert into Point (x) values ('-1')", "insert into Point (x) values ('0')", "insert into Point (x) values ('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\":{\"Point\":[\"x\"]},\"rows\":{\"Point\":[[-1],[0],[2]]}}",
"__typename": "QuestionNode"
}
}
}MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"