{ "data": { "question": { "questionId": "3284", "questionFrontendId": "2987", "categoryTitle": "Database", "boundTopicId": 2586420, "title": "Find Expensive Cities", "titleSlug": "find-expensive-cities", "content": null, "translatedTitle": "寻找房价最贵的城市", "translatedContent": null, "isPaidOnly": true, "difficulty": "Easy", "likes": 0, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"43\", \"totalSubmission\": \"46\", \"totalAcceptedRaw\": 43, \"totalSubmissionRaw\": 46, \"acRate\": \"93.5%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Listings\":[\"listing_id\",\"city\",\"price\"]},\"rows\":{\"Listings\":[[113,\"LosAngeles\",7560386],[136,\"SanFrancisco\",2380268],[92,\"Chicago\",9833209],[60,\"Chicago\",5147582],[8,\"Chicago\",5274441],[79,\"SanFrancisco\",8372065],[37,\"Chicago\",7939595],[53,\"LosAngeles\",4965123],[178,\"SanFrancisco\",999207],[51,\"NewYork\",5951718],[121,\"NewYork\",2893760]]}}", "metaData": "{\"mysql\":[\"Create Table if Not Exists Listings (listing_id int, city varchar(50), price int)\"],\"mssql\":[\"Create Table Listings (listing_id int, city varchar(50), price int)\"],\"oraclesql\":[\"Create Table Listings (listing_id int, city varchar(50), price int)\"],\"database\":true,\"languages\":[\"mysql\",\"mssql\",\"oraclesql\"],\"database_schema\":{\"Listings\":{\"listing_id\":\"INT\",\"city\":\"VARCHAR(50)\",\"price\":\"INT\"}}}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create Table if Not Exists Listings (listing_id int, city varchar(50), price int)", "Truncate table Listings", "insert into Listings (listing_id, city, price) values ('113', 'LosAngeles', '7560386')", "insert into Listings (listing_id, city, price) values ('136', 'SanFrancisco', '2380268')", "insert into Listings (listing_id, city, price) values ('92', 'Chicago', '9833209')", "insert into Listings (listing_id, city, price) values ('60', 'Chicago', '5147582')", "insert into Listings (listing_id, city, price) values ('8', 'Chicago', '5274441')", "insert into Listings (listing_id, city, price) values ('79', 'SanFrancisco', '8372065')", "insert into Listings (listing_id, city, price) values ('37', 'Chicago', '7939595')", "insert into Listings (listing_id, city, price) values ('53', 'LosAngeles', '4965123')", "insert into Listings (listing_id, city, price) values ('178', 'SanFrancisco', '999207')", "insert into Listings (listing_id, city, price) values ('51', 'NewYork', '5951718')", "insert into Listings (listing_id, city, price) values ('121', 'NewYork', '2893760')" ], "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\":{\"Listings\":[\"listing_id\",\"city\",\"price\"]},\"rows\":{\"Listings\":[[113,\"LosAngeles\",7560386],[136,\"SanFrancisco\",2380268],[92,\"Chicago\",9833209],[60,\"Chicago\",5147582],[8,\"Chicago\",5274441],[79,\"SanFrancisco\",8372065],[37,\"Chicago\",7939595],[53,\"LosAngeles\",4965123],[178,\"SanFrancisco\",999207],[51,\"NewYork\",5951718],[121,\"NewYork\",2893760]]}}",
"__typename": "QuestionNode"
}
}
}MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"