Ch. 4 — The One-to-Many Relationship

ClassicModels Schema

customers customerNumbercustomerNamecontactLastNamecontactFirstNamephoneaddressLine1addressLine2citystatepostalCodecountrysalesRepEmployeeNumbercreditLimitcustomerLocation 122 rows
employees employeeNumberlastNamefirstNameextensionemailreportsTojobTitleofficeCode 23 rows
offices officeCodecityphoneaddressLine1addressLine2statecountrypostalCodeterritoryofficeLocation 7 rows
orderdetails orderNumberproductCodequantityOrderedpriceEachorderLineNumber 2996 rows
orders orderNumberorderDaterequiredDateshippedDatestatuscommentscustomerNumber 326 rows
payments checkNumberpaymentDateamountcustomerNumber 273 rows
productlines productLinetextDescriptionhtmlDescriptionimage 7 rows
products productCodeproductNameproductScaleproductVendorproductDescriptionquantityInStockbuyPriceMSRPproductLine 110 rows
Exercise 4
Report the products that have not been sold.
SELECT only — ClassicModels
Write your SQL above and click Run Query.