Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll

my Blog
[prev. Lesson]  SQL Troubles
     [next Lesson]   SQL: Where Clause Basics

Search Database #2 (SQL Where clause examples)

For our next examples, knowing the structures of the tables will be helpful.

The authors database has a structure like this:

Au_ID Author Year_Born

The titles database has a structure like this:

Title Year_Published ISBN PubID Description Notes Subject Comments

The Title_Author table looks like this:

ISBN Au_ID

The publisher' database has a structure like this:

PubID Name Company_Name Address City State Zip Telephone Fax Comments
Chaz Wish List
Tall Tip $5
Grande Tip $20
Venti Tip $39
Tip Jar Thanks
2004 Thanks
2005 Thanks
HUGE Tip -love site