You are on page 1of 1

SQL SERVER 6.

5
Copyright Tata Infotech Ltd. : Copying of this document in part or full is not permitted without express authority.
APPENDIX A
THE pubs SAMPLE DATABASE
Other details about the tables can be found out by querying the tables and using system
stored procedures.
au_id (FK)
title_id (FK)
au_ord
royaltyper
title_id
title
type
pub_id (FK)
price
advance
royalty
ytd_sales
notes
pubdate
title_id
lorange
hirange
royalty
titleauthor titles roysched
au_id
au_lname
au_fname
phone
address
city
state
zip
contract
authors
pub_id
pub_name
city
state
country
publishers
pub_id (FK)
logo
pr_info
pub_info
dicounttype
stor_id (FK)
lowqty
highqty
discount
discounts
emp_id
fname
minit
lname
job_id (FK)
job_lvl
pub_id (FK)
hire_date
employee
stor_id (FK)
ord_num
ord_date (FK)
qty
payterms
title_id (FK)
sales
stor_id
stor_name
stor_address
city
state
zip
stores
job_id
job_desc
min_lvl
max_lvl
jobs
Indicates a primary key

You might also like