mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
64 lines
4.1 KiB
JSON
64 lines
4.1 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "3300",
|
|
"questionFrontendId": "2993",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 2591528,
|
|
"title": "Friday Purchases I",
|
|
"titleSlug": "friday-purchases-i",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 0,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"24\", \"totalSubmission\": \"26\", \"totalAcceptedRaw\": 24, \"totalSubmissionRaw\": 26, \"acRate\": \"92.3%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Purchases\":[\"user_id\",\"purchase_date\",\"amount_spend\"]},\"rows\":{\"Purchases\":[[11,\"2023-11-07\",1126],[15,\"2023-11-30\",7473],[17,\"2023-11-14\",2414],[12,\"2023-11-24\",9692],[8,\"2023-11-03\",5117],[1,\"2023-11-16\",5241],[10,\"2023-11-12\",8266],[13,\"2023-11-24\",12000]]}}",
|
|
"metaData": "{\"mysql\":[\"Create Table if Not Exists Purchases( user_id int, purchase_date date, amount_spend int)\"],\"mssql\":[\"Create Table Purchases( user_id int, purchase_date date, amount_spend int)\"],\"oraclesql\":[\"Create Table Purchases( user_id int, purchase_date date, amount_spend int)\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"],\"database\":true,\"languages\":[\"mysql\",\"mssql\",\"oraclesql\"],\"database_schema\":{\"Purchases\":{\"user_id\":\"INT\",\"purchase_date\":\"DATE\",\"amount_spend\":\"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create Table if Not Exists Purchases( user_id int, purchase_date date, amount_spend int)",
|
|
"Truncate table Purchases",
|
|
"insert into Purchases (user_id, purchase_date, amount_spend) values ('11', '2023-11-07', '1126')",
|
|
"insert into Purchases (user_id, purchase_date, amount_spend) values ('15', '2023-11-30', '7473')",
|
|
"insert into Purchases (user_id, purchase_date, amount_spend) values ('17', '2023-11-14', '2414')",
|
|
"insert into Purchases (user_id, purchase_date, amount_spend) values ('12', '2023-11-24', '9692')",
|
|
"insert into Purchases (user_id, purchase_date, amount_spend) values ('8', '2023-11-03', '5117')",
|
|
"insert into Purchases (user_id, purchase_date, amount_spend) values ('1', '2023-11-16', '5241')",
|
|
"insert into Purchases (user_id, purchase_date, amount_spend) values ('10', '2023-11-12', '8266')",
|
|
"insert into Purchases (user_id, purchase_date, amount_spend) values ('13', '2023-11-24', '12000')"
|
|
],
|
|
"enableRunCode": true,
|
|
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\":{\"Purchases\":[\"user_id\",\"purchase_date\",\"amount_spend\"]},\"rows\":{\"Purchases\":[[11,\"2023-11-07\",1126],[15,\"2023-11-30\",7473],[17,\"2023-11-14\",2414],[12,\"2023-11-24\",9692],[8,\"2023-11-03\",5117],[1,\"2023-11-16\",5241],[10,\"2023-11-12\",8266],[13,\"2023-11-24\",12000]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |