{ "data": { "question": { "questionId": "618", "questionFrontendId": "618", "boundTopicId": null, "title": "Students Report By Geography", "titleSlug": "students-report-by-geography", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Hard", "likes": 177, "dislikes": 169, "isLiked": null, "similarQuestions": "[]", "exampleTestcases": "{\"headers\":{\"Student\":[\"name\",\"continent\"]},\"rows\":{\"Student\":[[\"Jane\",\"America\"],[\"Pascal\",\"Europe\"],[\"Xi\",\"Asia\"],[\"Jack\",\"America\"]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"22.4K\", \"totalSubmission\": \"35.2K\", \"totalAcceptedRaw\": 22403, \"totalSubmissionRaw\": 35156, \"acRate\": \"63.7%\"}", "hints": [], "solution": { "id": "175", "canSeeDetail": false, "paidOnly": true, "hasVideoSolution": false, "paidOnlyVideo": true, "__typename": "ArticleNode" }, "status": null, "sampleTestCase": "{\"headers\":{\"Student\":[\"name\",\"continent\"]},\"rows\":{\"Student\":[[\"Jane\",\"America\"],[\"Pascal\",\"Europe\"],[\"Xi\",\"Asia\"],[\"Jack\",\"America\"]]}}", "metaData": "{\"mysql\": [\"Create table If Not Exists Student (name varchar(50), continent varchar(7))\"], \"mssql\": [\"Create table Student (name varchar(50), continent varchar(7))\"], \"oraclesql\": [\"Create table Student (name varchar(50), continent varchar(7))\"], \"database\": true, \"name\": \"geography_report\", \"pythondata\": [\"Student = pd.DataFrame([], columns=['name', 'continent']).astype({'name':'object', 'continent':'object'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Student (name varchar(50), continent varchar(7))\"], \"database_schema\": {\"Student\": {\"name\": \"VARCHAR(50)\", \"continent\": \"VARCHAR(7)\"}}}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Student (name varchar(50), continent varchar(7))", "Truncate table Student", "insert into Student (name, continent) values ('Jane', 'America')", "insert into Student (name, continent) values ('Pascal', 'Europe')", "insert into Student (name, continent) values ('Xi', 'Asia')", "insert into Student (name, continent) values ('Jack', 'America')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.
Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0
\"], \"postgresql\": [\"PostgreSQL\", \"PostgreSQL 16
\"]}", "libraryUrl": null, "adminUrl": null, "challengeQuestion": null, "__typename": "QuestionNode" } } }