Warehouse Manager
[]
['Create table If Not Exists Warehouse (name varchar(50), product_id int, units int)\n', 'Create table If Not Exists Products (product_id int, product_name varchar(50), Width int,Length int,Height int)', 'Truncate table Warehouse', "insert into Warehouse (name, product_id, units) values ('LCHouse1', '1', '1')", "insert into Warehouse (name, product_id, units) values ('LCHouse1', '2', '10')", "insert into Warehouse (name, product_id, units) values ('LCHouse1', '3', '5')", "insert into Warehouse (name, product_id, units) values ('LCHouse2', '1', '2')", "insert into Warehouse (name, product_id, units) values ('LCHouse2', '2', '2')", "insert into Warehouse (name, product_id, units) values ('LCHouse3', '4', '1')", 'Truncate table Products', "insert into Products (product_id, product_name, Width, Length, Height) values ('1', 'LC-TV', '5', '50', '40')", "insert into Products (product_id, product_name, Width, Length, Height) values ('2', 'LC-KeyChain', '5', '5', '5')", "insert into Products (product_id, product_name, Width, Length, Height) values ('3', 'LC-Phone', '2', '10', '10')", "insert into Products (product_id, product_name, Width, Length, Height) values ('4', 'LC-T-Shirt', '4', '10', '20')"]
{"mysql": ["Create table If Not Exists Warehouse (name varchar(50), product_id int, units int)\n", "Create table If Not Exists Products (product_id int, product_name varchar(50), Width int,Length int,Height int)"], "mssql": ["Create table Warehouse (name varchar(50), product_id int, units int)\n", "Create table Products (product_id int, product_name varchar(50), Width int,Length int,Height int)\n"], "oraclesql": ["Create table Warehouse (name varchar(50), product_id int, units int)\n", "Create table Products (product_id int, product_name varchar(50), Width int,Length int,Height int)\n"], "database": true, "name": "warehouse_manager", "pythondata": ["Warehouse = pd.DataFrame([], columns=['name', 'product_id', 'units']).astype({'name':'object', 'product_id':'Int64', 'units':'Int64'})", "Products = pd.DataFrame([], columns=['product_id', 'product_name', 'Width', 'Length', 'Height']).astype({'product_id':'Int64', 'product_name':'object', 'Width':'Int64', 'Length':'Int64', 'Height':'Int64'})"], "postgresql": ["\nCreate table If Not Exists Warehouse (name varchar(50), product_id int, units int)\n", "Create table If Not Exists Products (product_id int, product_name varchar(50), Width int,Length int,Height int)"], "database_schema": {"Warehouse": {"name": "VARCHAR(50)", "product_id": "INT", "units": "INT"}, "Products": {"product_id": "INT", "product_name": "VARCHAR(50)", "Width": "INT", "Length": "INT", "Height": "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']