{ "data": { "question": { "questionId": "2252", "questionFrontendId": "2112", "boundTopicId": null, "title": "The Airport With the Most Traffic", "titleSlug": "the-airport-with-the-most-traffic", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 15, "dislikes": 5, "isLiked": null, "similarQuestions": "[]", "exampleTestcases": "{\"headers\":{\"Flights\":[\"departure_airport\",\"arrival_airport\",\"flights_count\"]},\"rows\":{\"Flights\":[[1,2,4],[2,1,5],[2,4,5]]}}\n{\"headers\":{\"Flights\":[\"departure_airport\",\"arrival_airport\",\"flights_count\"]},\"rows\":{\"Flights\":[[1,2,4],[2,1,5],[3,4,5],[4,3,4],[5,6,7]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"2K\", \"totalSubmission\": \"2.9K\", \"totalAcceptedRaw\": 1987, \"totalSubmissionRaw\": 2895, \"acRate\": \"68.6%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Flights\":[\"departure_airport\",\"arrival_airport\",\"flights_count\"]},\"rows\":{\"Flights\":[[1,2,4],[2,1,5],[2,4,5]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Flights (departure_airport int, arrival_airport int, flights_count int)\"\n ],\n \"mssql\": [\n \"Create table Flights (departure_airport int, arrival_airport int, flights_count int)\"\n ],\n \"oraclesql\": [\n \"Create table Flights (departure_airport int, arrival_airport int, flights_count int)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Flights (departure_airport int, arrival_airport int, flights_count int)", "Truncate table Flights", "insert into Flights (departure_airport, arrival_airport, flights_count) values ('1', '2', '4')", "insert into Flights (departure_airport, arrival_airport, flights_count) values ('2', '1', '5')", "insert into Flights (departure_airport, arrival_airport, flights_count) values ('2', '4', '5')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.