Drop Type 1 Orders for Customers With Type 0 Orders
[]
['Create table If Not Exists Orders (order_id int, customer_id int, order_type int)', 'Truncate table Orders', "insert into Orders (order_id, customer_id, order_type) values ('1', '1', '0')", "insert into Orders (order_id, customer_id, order_type) values ('2', '1', '0')", "insert into Orders (order_id, customer_id, order_type) values ('11', '2', '0')", "insert into Orders (order_id, customer_id, order_type) values ('12', '2', '1')", "insert into Orders (order_id, customer_id, order_type) values ('21', '3', '1')", "insert into Orders (order_id, customer_id, order_type) values ('22', '3', '0')", "insert into Orders (order_id, customer_id, order_type) values ('31', '4', '1')", "insert into Orders (order_id, customer_id, order_type) values ('32', '4', '1')"]
{"mysql": ["Create table If Not Exists Orders (order_id int, customer_id int, order_type int)"], "mssql": ["Create table Orders (order_id int, customer_id int, order_type int)"], "oraclesql": ["Create table Orders (order_id int, customer_id int, order_type int)"], "database": true, "name": "drop_specific_orders", "pythondata": ["Orders = pd.DataFrame([], columns=['order_id', 'customer_id', 'order_type']).astype({'order_id':'Int64', 'customer_id':'Int64', 'order_type':'Int64'})"], "postgresql": ["Create table If Not Exists Orders (order_id int, customer_id int, order_type int)"], "database_schema": {"Orders": {"order_id": "INT", "customer_id": "INT", "order_type": "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']