Professional Documents
Culture Documents
Assignment 4 - SQL
Assignment 4 - SQL
Assignment 4 - SQL
Database Schema:
Products Table: product_id (Primary Key), product_name, weight, category.
Shipments Table: shipment_id (Primary Key), product_id (Foreign Key to Products Table), vendor_id (Foreign
Key to Vendors Table), warehouse_id (Foreign Key to Warehouses Table), quantity, shipment_date.
Initial Setup:
Create a database named "LogisticsDB." Implement the above tables with appropriate data types and
relationships. Insert some sample data into each table.