{ "data": { "question": { "questionId": "1964", "questionFrontendId": "1811", "boundTopicId": null, "title": "Find Interview Candidates", "titleSlug": "find-interview-candidates", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 111, "dislikes": 17, "isLiked": null, "similarQuestions": "[]", "exampleTestcases": "{\"headers\":{\"Contests\":[\"contest_id\",\"gold_medal\",\"silver_medal\",\"bronze_medal\"],\"Users\":[\"user_id\",\"mail\",\"name\"]},\"rows\":{\"Contests\":[[190,1,5,2],[191,2,3,5],[192,5,2,3],[193,1,3,5],[194,4,5,2],[195,4,2,1],[196,1,5,2]],\"Users\":[[1,\"sarah@leetcode.com\",\"Sarah\"],[2,\"bob@leetcode.com\",\"Bob\"],[3,\"alice@leetcode.com\",\"Alice\"],[4,\"hercy@leetcode.com\",\"Hercy\"],[5,\"quarz@leetcode.com\",\"Quarz\"]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"8.2K\", \"totalSubmission\": \"12.6K\", \"totalAcceptedRaw\": 8166, \"totalSubmissionRaw\": 12583, \"acRate\": \"64.9%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Contests\":[\"contest_id\",\"gold_medal\",\"silver_medal\",\"bronze_medal\"],\"Users\":[\"user_id\",\"mail\",\"name\"]},\"rows\":{\"Contests\":[[190,1,5,2],[191,2,3,5],[192,5,2,3],[193,1,3,5],[194,4,5,2],[195,4,2,1],[196,1,5,2]],\"Users\":[[1,\"sarah@leetcode.com\",\"Sarah\"],[2,\"bob@leetcode.com\",\"Bob\"],[3,\"alice@leetcode.com\",\"Alice\"],[4,\"hercy@leetcode.com\",\"Hercy\"],[5,\"quarz@leetcode.com\",\"Quarz\"]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)\",\n \"Create table If Not Exists Users (user_id int, mail varchar(50), name varchar(30))\"\n ],\n \"mssql\": [\n \"Create table Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)\",\n \"Create table Users (user_id int, mail varchar(50), name varchar(30))\"\n ],\n \"oraclesql\": [\n \"Create table Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)\",\n \"Create table Users (user_id int, mail varchar(50), name varchar(30))\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Contests (contest_id int, gold_medal int, silver_medal int, bronze_medal int)", "Create table If Not Exists Users (user_id int, mail varchar(50), name varchar(30))", "Truncate table Contests", "insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('190', '1', '5', '2')", "insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('191', '2', '3', '5')", "insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('192', '5', '2', '3')", "insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('193', '1', '3', '5')", "insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('194', '4', '5', '2')", "insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('195', '4', '2', '1')", "insert into Contests (contest_id, gold_medal, silver_medal, bronze_medal) values ('196', '1', '5', '2')", "Truncate table Users", "insert into Users (user_id, mail, name) values ('1', 'sarah@leetcode.com', 'Sarah')", "insert into Users (user_id, mail, name) values ('2', 'bob@leetcode.com', 'Bob')", "insert into Users (user_id, mail, name) values ('3', 'alice@leetcode.com', 'Alice')", "insert into Users (user_id, mail, name) values ('4', 'hercy@leetcode.com', 'Hercy')", "insert into Users (user_id, mail, name) values ('5', 'quarz@leetcode.com', 'Quarz')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.