Orders With Maximum Quantity Above Average
[]
['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')"]
{"mysql": ["Create table If Not Exists OrdersDetails (order_id int, product_id int, quantity int)"], "mssql": ["Create table OrdersDetails (order_id int, product_id int, quantity int)"], "oraclesql": ["Create table OrdersDetails (order_id int, product_id int, quantity int)"], "database": true, "name": "orders_above_average", "pythondata": ["OrdersDetails = pd.DataFrame([], columns=['order_id', 'product_id', 'quantity']).astype({'order_id':'Int64', 'product_id':'Int64', 'quantity':'Int64'})"], "postgresql": ["Create table If Not Exists OrdersDetails (order_id int, product_id int, quantity int)"], "database_schema": {"OrdersDetails": {"order_id": "INT", "product_id": "INT", "quantity": "INT"}}}
{"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>"], "pythondata": ["Pandas", "<p>Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4</p>"], "postgresql": ["PostgreSQL", "<p>PostgreSQL 16</p>"]}
['Database']