Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Correct SQL syntax ? 1

Status
Not open for further replies.

karlomutschler

Programmer
Jun 5, 2001
75
DE
Hi,
which one of the following is correct ?

sel *
from contract con
JOIN customer cus ON con.customer_id = cus.customer_id

OR

sel *
from contract con
JOIN customer cus ON cus.customer_id = con.customer_id

TIA
Kind regards
Karlo
 
They are both correct.
The position of the columns in the join expression shouldn't matter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top