{ "data": { "question": { "questionId": "1981", "questionFrontendId": "1831", "categoryTitle": "Database", "boundTopicId": 729267, "title": "Maximum Transaction Each Day", "titleSlug": "maximum-transaction-each-day", "content": null, "translatedTitle": "每天的最大交易", "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 8, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"1.8K\", \"totalSubmission\": \"2.3K\", \"totalAcceptedRaw\": 1778, \"totalSubmissionRaw\": 2343, \"acRate\": \"75.9%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\": {\"Transactions\": [\"transaction_id\", \"day\", \"amount\"]}, \"rows\": {\"Transactions\": [[8, \"2021-4-3 15:57:28\", 57], [9, \"2021-4-28 08:47:25\", 21], [1, \"2021-4-29 13:28:30\", 58], [5, \"2021-4-28 16:39:59\", 40], [6, \"2021-4-29 23:39:28\", 58]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Transactions (transaction_id int, day datetime, amount int)\"\n ],\n \"mssql\": [\n \"Create table Transactions (transaction_id int, day datetime, amount int)\"\n ],\n \"oraclesql\": [\n \"Create table Transactions (transaction_id int, day date, amount int)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD HH24:MI:SS'\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Transactions (transaction_id int, day datetime, amount int)", "Truncate table Transactions", "insert into Transactions (transaction_id, day, amount) values ('8', '2021-4-3 15:57:28', '57')", "insert into Transactions (transaction_id, day, amount) values ('9', '2021-4-28 08:47:25', '21')", "insert into Transactions (transaction_id, day, amount) values ('1', '2021-4-29 13:28:30', '58')", "insert into Transactions (transaction_id, day, amount) values ('5', '2021-4-28 16:39:59', '40')", "insert into Transactions (transaction_id, day, amount) values ('6', '2021-4-29 23:39:28', '58')" ], "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\": {\"Transactions\": [\"transaction_id\", \"day\", \"amount\"]}, \"rows\": {\"Transactions\": [[8, \"2021-4-3 15:57:28\", 57], [9, \"2021-4-28 08:47:25\", 21], [1, \"2021-4-29 13:28:30\", 58], [5, \"2021-4-28 16:39:59\", 40], [6, \"2021-4-29 23:39:28\", 58]]}}", "__typename": "QuestionNode" } } }