{ "data": { "question": { "questionId": "1981", "questionFrontendId": "1831", "boundTopicId": null, "title": "Maximum Transaction Each Day", "titleSlug": "maximum-transaction-each-day", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 35, "dislikes": 1, "isLiked": null, "similarQuestions": "[]", "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]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"6.7K\", \"totalSubmission\": \"8.1K\", \"totalAcceptedRaw\": 6721, \"totalSubmissionRaw\": 8070, \"acRate\": \"83.3%\"}", "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, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.