1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]orders-with-maximum-quantity-above-average.json
2022-05-02 23:44:12 +08:00

70 lines
4.5 KiB
JSON

{
"data": {
"question": {
"questionId": "2014",
"questionFrontendId": "1867",
"categoryTitle": "Database",
"boundTopicId": 781374,
"title": "Orders With Maximum Quantity Above Average",
"titleSlug": "orders-with-maximum-quantity-above-average",
"content": null,
"translatedTitle": "最大数量高于平均水平的订单",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 3,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"1.6K\", \"totalSubmission\": \"2.2K\", \"totalAcceptedRaw\": 1588, \"totalSubmissionRaw\": 2215, \"acRate\": \"71.7%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\": {\"OrdersDetails\": [\"order_id\", \"product_id\", \"quantity\"]}, \"rows\": {\"OrdersDetails\": [[1 ,1, 12], [1 ,2, 10], [1 ,3, 15], [2 ,1, 8], [2 ,4, 4], [2 ,5, 6], [3 , 3, 5], [3 ,4, 18], [4 ,5, 2], [4 ,6, 8], [5 ,7, 9], [5 ,8, 9], [3 ,9, 20], [2 ,9, 4]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists OrdersDetails (order_id int, product_id int, quantity int)\"\n ],\n \"mssql\": [\n \"Create table OrdersDetails (order_id int, product_id int, quantity int)\"\n ],\n \"oraclesql\": [\n \"Create table OrdersDetails (order_id int, product_id int, quantity int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists OrdersDetails (order_id int, product_id int, quantity int)",
"Truncate table OrdersDetails",
"insert into OrdersDetails (order_id, product_id, quantity) values ('1', '1', '12')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('1', '2', '10')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('1', '3', '15')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('2', '1', '8')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('2', '4', '4')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('2', '5', '6')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('3', '3', '5')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('3', '4', '18')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('4', '5', '2')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('4', '6', '8')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('5', '7', '9')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('5', '8', '9')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('3', '9', '20')",
"insert into OrdersDetails (order_id, product_id, quantity) values ('2', '9', '4')"
],
"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\": {\"OrdersDetails\": [\"order_id\", \"product_id\", \"quantity\"]}, \"rows\": {\"OrdersDetails\": [[1 ,1, 12], [1 ,2, 10], [1 ,3, 15], [2 ,1, 8], [2 ,4, 4], [2 ,5, 6], [3 , 3, 5], [3 ,4, 18], [4 ,5, 2], [4 ,6, 8], [5 ,7, 9], [5 ,8, 9], [3 ,9, 20], [2 ,9, 4]]}}",
"__typename": "QuestionNode"
}
}
}