Authors represented in the Pubs title catalogue.
au_idCHAR(11) · PKau_lnameVARCHAR(40)au_fnameVARCHAR(20)phoneCHAR(12)addressVARCHAR(40) · nullablecityVARCHAR(20) · nullablestateCHAR(2) · nullablezipCHAR(5) · nullablecontractINTEGER
Publishing organizations, contact details, and locations.
pub_idCHAR(4) · PKpub_nameVARCHAR(40) · nullablecityVARCHAR(20) · nullablestateCHAR(2) · nullablecountryVARCHAR(30) · nullable
Books and other publications with catalogue details and list prices.
title_idCHAR(6) · PKtitleVARCHAR(80)typeCHAR(12)pub_idCHAR(4) · nullablepriceNUMERIC · nullableadvanceNUMERIC · nullableroyaltyINT · nullableytd_salesINT · nullablenotesVARCHAR(200) · nullablepubdateTEXT
References publishers.pub_id
Links authors to publications and records author order and royalty percentage.
au_idCHAR(11) · PKtitle_idCHAR(6) · PKau_ordINTEGER · nullableroyaltyperINT · nullable
References titles.title_id, authors.au_id
Retail stores that sell Pubs publications.
stor_idCHAR(4) · PKstor_nameVARCHAR(40) · nullablestor_addressVARCHAR(40) · nullablecityVARCHAR(20) · nullablestateCHAR(2) · nullablezipCHAR(5) · nullable
Recorded sales by store, order number, date, title, quantity, and payment terms.
stor_idCHAR(4) · PKord_numVARCHAR(20) · PKord_dateTEXTqtyINTEGERpaytermsVARCHAR(12)title_idCHAR(6) · PK
References titles.title_id, stores.stor_id
Royalty percentages for title sales across sales-range bands.
title_idCHAR(6) · nullablelorangeINT · nullablehirangeINT · nullableroyaltyINT · nullable
References titles.title_id
Initial, volume, and store-specific sales discounts.
discounttypeVARCHAR(40)stor_idCHAR(4) · nullablelowqtyINTEGER · nullablehighqtyINTEGER · nullablediscountDECIMAL(4,2)
References stores.stor_id
Job titles and the permitted employee job-level range.
job_idINTEGER · PKjob_descVARCHAR(50)min_lvlINTEGERmax_lvlINTEGER
Publisher descriptions and the original GIF logos stored as BLOBs.
pub_idCHAR(4) · PKlogoBLOB · nullablepr_infoTEXT · nullable
References publishers.pub_id
Employees, their job levels, hire dates, and publisher assignments.
emp_idCHAR(10) · PKfnameVARCHAR(20)minitCHAR(1) · nullablelnameVARCHAR(30)job_idINTEGERjob_lvlINTEGER · nullablepub_idCHAR(4)hire_dateTEXT
References publishers.pub_id, jobs.job_id