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

67 lines
4.3 KiB
JSON

{
"data": {
"question": {
"questionId": "2014",
"questionFrontendId": "1867",
"boundTopicId": null,
"title": "Orders With Maximum Quantity Above Average",
"titleSlug": "orders-with-maximum-quantity-above-average",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 31,
"dislikes": 117,
"isLiked": null,
"similarQuestions": "[]",
"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]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"6.8K\", \"totalSubmission\": \"8.9K\", \"totalAcceptedRaw\": 6770, \"totalSubmissionRaw\": 8903, \"acRate\": \"76.0%\"}",
"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,
"enableTestMode": false,
"enableDebugger": false,
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}