No Images Added Yet

Two Table Join

Rated2.3/5 (3 ratings)
Add to Favorites
Publisher
Explains how to output data from two tables.
Product Details

Outputting data from two tables is almost as easy as displaying from one. This example utilizes two tables with state information on them. The first table (state_order) contains state abbreviations (state), state names (statename) the year each state was admitted into the union (year) and the numeric order they entered in (entered). The second table (state_capitals) contains state abbreviations (state), state names (state) and state capitals (capital). The where statement looks to make a match on the field that each table has in common to ouput the correct capital with all the info from the state_order table.

Report this Listing
Price
Free
Licence Type
Free
Views
2,138
Submitted on
26th June 2000
Last Updated
26th June 2000

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(3 ratings)
Average User Rating: 2.3/5
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.