{ "data": { "question": { "questionId": "1914", "questionFrontendId": "1767", "boundTopicId": null, "title": "Find the Subtasks That Did Not Execute", "titleSlug": "find-the-subtasks-that-did-not-execute", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Hard", "likes": 83, "dislikes": 8, "isLiked": null, "similarQuestions": "[]", "exampleTestcases": "{\"headers\": {\"Tasks\": [\"task_id\", \"subtasks_count\"], \"Executed\": [\"task_id\", \"subtask_id\"]}, \"rows\": {\"Tasks\": [[1, 3], [2, 2], [3, 4]], \"Executed\": [[1, 2], [3, 1], [3, 2], [3, 3], [3, 4]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"4.6K\", \"totalSubmission\": \"5.5K\", \"totalAcceptedRaw\": 4616, \"totalSubmissionRaw\": 5489, \"acRate\": \"84.1%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\": {\"Tasks\": [\"task_id\", \"subtasks_count\"], \"Executed\": [\"task_id\", \"subtask_id\"]}, \"rows\": {\"Tasks\": [[1, 3], [2, 2], [3, 4]], \"Executed\": [[1, 2], [3, 1], [3, 2], [3, 3], [3, 4]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Tasks (task_id int, subtasks_count int)\",\n \"Create table If Not Exists Executed (task_id int, subtask_id int)\"\n ],\n \"mssql\": [\n \"Create table Tasks (task_id int, subtasks_count int)\",\n \"Create table Executed (task_id int, subtask_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Tasks (task_id int, subtasks_count int)\",\n \"Create table Executed (task_id int, subtask_id int)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Tasks (task_id int, subtasks_count int)", "Create table If Not Exists Executed (task_id int, subtask_id int)", "Truncate table Tasks", "insert into Tasks (task_id, subtasks_count) values ('1', '3')", "insert into Tasks (task_id, subtasks_count) values ('2', '2')", "insert into Tasks (task_id, subtasks_count) values ('3', '4')", "Truncate table Executed", "insert into Executed (task_id, subtask_id) values ('1', '2')", "insert into Executed (task_id, subtask_id) values ('3', '1')", "insert into Executed (task_id, subtask_id) values ('3', '2')", "insert into Executed (task_id, subtask_id) values ('3', '3')", "insert into Executed (task_id, subtask_id) values ('3', '4')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.