{ "data": { "question": { "questionId": "2214", "questionFrontendId": "2072", "boundTopicId": null, "title": "The Winner University", "titleSlug": "the-winner-university", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Easy", "likes": 29, "dislikes": 2, "isLiked": null, "similarQuestions": "[{\"title\": \"The Number of Rich Customers\", \"titleSlug\": \"the-number-of-rich-customers\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]", "exampleTestcases": "{\"headers\":{\"NewYork\":[\"student_id\",\"score\"],\"California\":[\"student_id\",\"score\"]},\"rows\":{\"NewYork\":[[1,90],[2,87]],\"California\":[[2,89],[3,88]]}}\n{\"headers\":{\"NewYork\":[\"student_id\",\"score\"],\"California\":[\"student_id\",\"score\"]},\"rows\":{\"NewYork\":[[1,89],[2,88]],\"California\":[[2,90],[3,87]]}}\n{\"headers\":{\"NewYork\":[\"student_id\",\"score\"],\"California\":[\"student_id\",\"score\"]},\"rows\":{\"NewYork\":[[1,89],[2,90]],\"California\":[[2,87],[3,99]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"3.7K\", \"totalSubmission\": \"5.1K\", \"totalAcceptedRaw\": 3737, \"totalSubmissionRaw\": 5098, \"acRate\": \"73.3%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"NewYork\":[\"student_id\",\"score\"],\"California\":[\"student_id\",\"score\"]},\"rows\":{\"NewYork\":[[1,90],[2,87]],\"California\":[[2,89],[3,88]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists NewYork (student_id int, score int)\",\n \"Create table If Not Exists California (student_id int, score int)\"\n ],\n \"mssql\": [\n \"Create table NewYork (student_id int, score int)\",\n \"Create table California (student_id int, score int)\"\n ],\n \"oraclesql\": [\n \"Create table NewYork (student_id int, score int)\",\n \"Create table California (student_id int, score int)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists NewYork (student_id int, score int)", "Create table If Not Exists California (student_id int, score int)", "Truncate table NewYork", "insert into NewYork (student_id, score) values ('1', '90')", "insert into NewYork (student_id, score) values ('2', '87')", "Truncate table California", "insert into California (student_id, score) values ('2', '89')", "insert into California (student_id, score) values ('3', '88')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"

MySQL 8.0.

\"], \"mssql\": [\"MS SQL Server\", \"

mssql server 2019.

\"], \"oraclesql\": [\"Oracle\", \"

Oracle Sql 11.2.

\"]}", "libraryUrl": null, "adminUrl": null, "challengeQuestion": null, "__typename": "QuestionNode" } } }