Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Cape Codd Database Table Structure: (Tables & Fields) Catalog_SKU_2016 Catalog_SKU_2017 CatalogID (PK, int, not null) SKU (int, not null) SKU_Description (char(35), not null) Department (char(30),
Cape Codd Database Table Structure: (Tables & Fields) Catalog_SKU_2016 Catalog_SKU_2017 CatalogID (PK, int, not null) SKU (int, not null) SKU_Description (char(35), not null) Department (char(30), not null) CatalogPage (int, null) DateOn Web Site (date, null) CatalogID (PK, int, not null) SKU (int, not null) SKU_Description (char(35), not null) Department (char(30), not null) CatalogPage (int, null) DateOnWebSite (date, null) Catalog_SKU_2018 CatalogID (PK, int, not null) SKU (int, not null) SKU_Description (char(35), not null) Department (char(30), not null) CatalogPage (int, null) DateOnWebSite (date, null) ORDER_ITEM RETAIL_ORDER INVENTORY WarehouseID (PK, FK, int, not null) ? SKU FK, int, not null) SKU_Description (char(35), not null) QuantityOnHand (int, null) QuantityOnOrder (int, null) OrderNumber (PK, FK, int, not null) SKU (PK, FK, int, not null) Quantity (int, not null) Price (money, not null) ExtendedPrice (money, not null) ? OrderNumber (PK, int, not null) StoreNumber (int, null) Store Zip (char(9), null) Order Month (char(12), not null) OrderYear (int, not null) OrderTotal (money, null) SKU_DATA WAREHOUSE ? SKU (PK, int, not null) SKU_Description (char(35), not null) Department (char(30), not null) Buyer (char(35), null) WarehouseID (PK, int, not null) WarehouseCity (char(30), not null) WarehouseState (char(2), not null) Manager (char(35), null) Square Feet (int, null) Pirate Toy Store Tables (Tables & Fields) CUSTOMER INVOICE INVOICE_ITEM CustomerID (PK, int, not null) FirstName (char(25), not null) LastName (char(25), not null) Phone (char(12), not null) Email (char(100), null) InvoiceNumber (PK, int, not null) CustomerNumber (FK, int, not null) SaleDate (datetime, not null) TotalAmount (numeric(8,2), null) InvoiceNumber (PK, FK, int, not null) Item Number (PK, int, not null) Item (char(50), not null) Quantity (int, not null) UnitPrice (numeric(8,2), null) 8. Write an SQL statement to show any items put on page 23 of the 2017 catalog on Jan 1st of 2017. Include all fields. CatalogID SKU SKU_Description Department CatalogPage DateOnWebSite 1 20170001 100100 Std. Scuba Tank, Yellow Water Sports 23 2017-01-01 2 20170002 100300 Std. Scuba Tank, Light Blue Water Sports 23 2017-01-01 3 20170010 100100 Std. Scuba Tank, Yellow Water Sports 23 2017-01-01 4 20170011 100300 Std. Scuba Tank, Light Blue Water Sports 23 2017-01-01 3
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started