pubs2 and pubs3 sample databases  Chapter 2: Queries: Selecting Data from a Table

Chapter 1: SQL Building Blocks

Sample database content

The sample database, pubs2, contains these tables: publishers, authors, titles, titleauthor, roysched, sales, salesdetail, stores, discounts, au_pix, and blurbs. The pubs3 sample database adds store_employees but does not include au_pix. pubs3 is an updated version of pubs2 and can be used for referential integrity examples. Its tables differ slightly from the tables defined in pubs2.

Here is a brief description of each table:

The pubs2 database is illustrated in Appendix A, “The pubs2 Database,” while pubs3 is illustrated in Appendix B, “The pubs3 Database.”





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 2: Queries: Selecting Data from a Table

View this book as PDF