{ "data": { "question": { "questionId": "3288", "questionFrontendId": "2991", "categoryTitle": "Database", "boundTopicId": 2586387, "title": "Top Three Wineries ", "titleSlug": "top-three-wineries", "content": null, "translatedTitle": "最好的三家酒庄", "translatedContent": null, "isPaidOnly": true, "difficulty": "Hard", "likes": 0, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"25\", \"totalSubmission\": \"43\", \"totalAcceptedRaw\": 25, \"totalSubmissionRaw\": 43, \"acRate\": \"58.1%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Wineries\":[\"id\",\"country\",\"points\",\"winery\"]},\"rows\":{\"Wineries\":[[103,\"Australia\",84,\"WhisperingPines\"],[737,\"Australia\",85,\"GrapesGalore\"],[848,\"Australia\",100,\"HarmonyHill\"],[222,\"Hungary\",60,\"MoonlitCellars\"],[116,\"USA\",47,\"RoyalVines\"],[124,\"USA\",45,\"Eagle'sNest\"],[648,\"India\",69,\"SunsetVines\"],[894,\"USA\",39,\"RoyalVines\"],[677,\"USA\",9,\"PacificCrest\"]]}}", "metaData": "{\"mysql\":[\"Create table if Not Exists Wineries ( id int, country varchar(60), points int, winery varchar(60))\"],\"mssql\":[\"Create table Wineries ( id int, country varchar(60), points int, winery varchar(60))\"],\"oraclesql\":[\"Create table Wineries ( id int, country varchar(60), points int, winery varchar(60))\"],\"database\":true,\"languages\":[\"mysql\",\"mssql\",\"oraclesql\"],\"database_schema\":{\"Wineries\":{\"id\":\"INT\",\"country\":\"VARCHAR(60)\",\"points\":\"INT\",\"winery\":\"VARCHAR(60)\"}}}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table if Not Exists Wineries ( id int, country varchar(60), points int, winery varchar(60))", "Truncate table Wineries", "insert into Wineries (id, country, points, winery) values ('103', 'Australia', '84', 'WhisperingPines')", "insert into Wineries (id, country, points, winery) values ('737', 'Australia', '85', 'GrapesGalore')", "insert into Wineries (id, country, points, winery) values ('848', 'Australia', '100', 'HarmonyHill')", "insert into Wineries (id, country, points, winery) values ('222', 'Hungary', '60', 'MoonlitCellars')", "insert into Wineries (id, country, points, winery) values ('116', 'USA', '47', 'RoyalVines')", "insert into Wineries (id, country, points, winery) values ('124', 'USA', '45', 'Eagle'sNest')", "insert into Wineries (id, country, points, winery) values ('648', 'India', '69', 'SunsetVines')", "insert into Wineries (id, country, points, winery) values ('894', 'USA', '39', 'RoyalVines')", "insert into Wineries (id, country, points, winery) values ('677', 'USA', '9', 'PacificCrest')" ], "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\":{\"Wineries\":[\"id\",\"country\",\"points\",\"winery\"]},\"rows\":{\"Wineries\":[[103,\"Australia\",84,\"WhisperingPines\"],[737,\"Australia\",85,\"GrapesGalore\"],[848,\"Australia\",100,\"HarmonyHill\"],[222,\"Hungary\",60,\"MoonlitCellars\"],[116,\"USA\",47,\"RoyalVines\"],[124,\"USA\",45,\"Eagle'sNest\"],[648,\"India\",69,\"SunsetVines\"],[894,\"USA\",39,\"RoyalVines\"],[677,\"USA\",9,\"PacificCrest\"]]}}", "__typename": "QuestionNode" } } }