Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Using the pubs2 and pubs3 sample
databases [Table of Contents] Chapter 2 Queries: Selecting Data from
a Table

Transact-SQL User's Guide

[-] Chapter 1 SQL Building Blocks
[-] Using the pubs2 and pubs3 sample databases
[-] What is in the sample databases?

What is in the sample databases?

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. "


Using the pubs2 and pubs3 sample
databases [Table of Contents] Chapter 2 Queries: Selecting Data from
a Table