{ "data": { "question": { "questionId": "585", "questionFrontendId": "585", "categoryTitle": "Database", "boundTopicId": 2643, "title": "Investments in 2016", "titleSlug": "investments-in-2016", "content": null, "translatedTitle": "2016年的投资", "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 51, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"11.1K\", \"totalSubmission\": \"20.3K\", \"totalAcceptedRaw\": 11100, \"totalSubmissionRaw\": 20335, \"acRate\": \"54.6%\"}", "hints": [ "Make the (LAT, LON) a pair to represent the location information" ], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Insurance\":[\"pid\",\"tiv_2015\",\"tiv_2016\",\"lat\",\"lon\"]},\"rows\":{\"Insurance\":[[1,10,5,10,10],[2,20,20,20,20],[3,10,30,20,20],[4,10,40,40,40]]}}", "metaData": "{\n \"mysql\": [\n \"Create Table If Not Exists Insurance (pid int, tiv_2015 float, tiv_2016 float, lat float, lon float)\"\n ],\n \"mssql\": [\n \"Create Table Insurance (pid int, tiv_2015 float, tiv_2016 float, lat float, lon float)\"\n ],\n \"oraclesql\": [\n \"Create Table Insurance (pid int, tiv_2015 float, tiv_2016 float, lat float, lon float)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create Table If Not Exists Insurance (pid int, tiv_2015 float, tiv_2016 float, lat float, lon float)", "Truncate table Insurance", "insert into Insurance (pid, tiv_2015, tiv_2016, lat, lon) values ('1', '10', '5', '10', '10')", "insert into Insurance (pid, tiv_2015, tiv_2016, lat, lon) values ('2', '20', '20', '20', '20')", "insert into Insurance (pid, tiv_2015, tiv_2016, lat, lon) values ('3', '10', '30', '20', '20')", "insert into Insurance (pid, tiv_2015, tiv_2016, lat, lon) values ('4', '10', '40', '40', '40')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"

\\u7248\\u672c\\uff1aMySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"

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\":{\"Insurance\":[\"pid\",\"tiv_2015\",\"tiv_2016\",\"lat\",\"lon\"]},\"rows\":{\"Insurance\":[[1,10,5,10,10],[2,20,20,20,20],[3,10,30,20,20],[4,10,40,40,40]]}}", "__typename": "QuestionNode" } } }