Question: Use the cape_codd database. 1. Write a SQL statement to display data for all columns from the inventory and warehouse tables. Use an explicit JOIN.
Use the cape_codd database.
1. Write a SQL statement to display data for all columns from the inventory and warehouse tables. Use an explicit JOIN. Sort the result set by the WarehouseID column.
2. Write a SQL statement to display data for the SKU, SKU_Description, and WarehouseID columns from the inventory and warehouse tables where the Manager column is 'Lucille Smith'. Use an explicit JOIN. Sort the result set by the WarehouseID column.
3. Write a SQL statement to display data for all columns from the sku_data and inventory tables. Use an explicit JOIN. Sort the result set by the SKU column.
4. Write a SQL statement to display data for the SKU, SKU_Description, and WarehouseID columns from the sku_data and inventory tables where the Department column is 'Climbing'. Use an explicit JOIN. Sort the result set by the SKU column.
5. Write a SQL statement to display data for the SKU, SKU_Description, and Buyer columns from the sku_data and catalog_sku_2016 tables where the Buyer column is 'Nancy Meyers'. Use an explicit JOIN and SKU or SKU_Description in the join condition. Sort the result set by the SKU column.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
