{ "data": { "question": { "questionId": "2446", "questionFrontendId": "2314", "categoryTitle": "Database", "boundTopicId": 1620675, "title": "The First Day of the Maximum Recorded Degree in Each City", "titleSlug": "the-first-day-of-the-maximum-recorded-degree-in-each-city", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 1, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"61\", \"totalSubmission\": \"82\", \"totalAcceptedRaw\": 61, \"totalSubmissionRaw\": 82, \"acRate\": \"74.4%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\": {\"Weather\": [\"city_id\", \"day\", \"degree\"]}, \"rows\": {\"Weather\": [[1, \"2022-01-07\", -12], [1, \"2022-03-07\", 5], [1, \"2022-07-07\", 24], [2, \"2022-08-07\", 37], [2, \"2022-08-17\", 37], [3, \"2022-02-07\", -7], [3, \"2022-12-07\", -6]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Weather (city_id int, day date, degree int)\"\n ],\n \"mssql\": [\n \"Create table Weather (city_id int, day date, degree int)\"\n ],\n \"oraclesql\": [\n \"Create table Weather (city_id int, day date, degree int)\",\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 Weather (city_id int, day date, degree int)", "Truncate table Weather", "insert into Weather (city_id, day, degree) values ('1', '2022-01-07', '-12')", "insert into Weather (city_id, day, degree) values ('1', '2022-03-07', '5')", "insert into Weather (city_id, day, degree) values ('1', '2022-07-07', '24')", "insert into Weather (city_id, day, degree) values ('2', '2022-08-07', '37')", "insert into Weather (city_id, day, degree) values ('2', '2022-08-17', '37')", "insert into Weather (city_id, day, degree) values ('3', '2022-02-07', '-7')", "insert into Weather (city_id, day, degree) values ('3', '2022-12-07', '-6')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"

\\u7248\\u672c\\uff1aMySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"

mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"

Oracle Sql 11.2.<\\/p>\"]}", "book": null, "isSubscribed": false, "isDailyQuestion": false, "dailyRecordStatus": null, "editorType": "CKEDITOR", "ugcQuestionId": null, "style": "LEETCODE", "exampleTestcases": "{\"headers\": {\"Weather\": [\"city_id\", \"day\", \"degree\"]}, \"rows\": {\"Weather\": [[1, \"2022-01-07\", -12], [1, \"2022-03-07\", 5], [1, \"2022-07-07\", 24], [2, \"2022-08-07\", 37], [2, \"2022-08-17\", 37], [3, \"2022-02-07\", -7], [3, \"2022-12-07\", -6]]}}", "__typename": "QuestionNode" } } }