{ "data": { "question": { "questionId": "1357", "questionFrontendId": "1225", "boundTopicId": null, "title": "Report Contiguous Dates", "titleSlug": "report-contiguous-dates", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Hard", "likes": 221, "dislikes": 18, "isLiked": null, "similarQuestions": "[{\"title\": \"Find the Start and End Number of Continuous Ranges\", \"titleSlug\": \"find-the-start-and-end-number-of-continuous-ranges\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Find the Missing IDs\", \"titleSlug\": \"find-the-missing-ids\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]", "exampleTestcases": "{\"headers\":{\"Failed\":[\"fail_date\"],\"Succeeded\":[\"success_date\"]},\"rows\":{\"Failed\":[[\"2018-12-28\"],[\"2018-12-29\"],[\"2019-01-04\"],[\"2019-01-05\"]],\"Succeeded\":[[\"2018-12-30\"],[\"2018-12-31\"],[\"2019-01-01\"],[\"2019-01-02\"],[\"2019-01-03\"],[\"2019-01-06\"]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"13.6K\", \"totalSubmission\": \"21.6K\", \"totalAcceptedRaw\": 13647, \"totalSubmissionRaw\": 21578, \"acRate\": \"63.2%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Failed\":[\"fail_date\"],\"Succeeded\":[\"success_date\"]},\"rows\":{\"Failed\":[[\"2018-12-28\"],[\"2018-12-29\"],[\"2019-01-04\"],[\"2019-01-05\"]],\"Succeeded\":[[\"2018-12-30\"],[\"2018-12-31\"],[\"2019-01-01\"],[\"2019-01-02\"],[\"2019-01-03\"],[\"2019-01-06\"]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Failed (fail_date date)\",\n \"Create table If Not Exists Succeeded (success_date date)\"\n ],\n \"mssql\": [\n \"Create table Failed (fail_date date)\",\n \"Create table Succeeded (success_date date)\\n\"\n ],\n \"oraclesql\": [\n \"Create table Failed (fail_date date)\",\n \"Create table Succeeded (success_date date)\\n\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Failed (fail_date date)", "Create table If Not Exists Succeeded (success_date date)", "Truncate table Failed", "insert into Failed (fail_date) values ('2018-12-28')", "insert into Failed (fail_date) values ('2018-12-29')", "insert into Failed (fail_date) values ('2019-01-04')", "insert into Failed (fail_date) values ('2019-01-05')", "Truncate table Succeeded", "insert into Succeeded (success_date) values ('2018-12-30')", "insert into Succeeded (success_date) values ('2018-12-31')", "insert into Succeeded (success_date) values ('2019-01-01')", "insert into Succeeded (success_date) values ('2019-01-02')", "insert into Succeeded (success_date) values ('2019-01-03')", "insert into Succeeded (success_date) values ('2019-01-06')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.