joining 3 or more tables together [message #373168] |
Sun, 01 April 2001 20:05 |
summer
Messages: 2 Registered: April 2001
|
Junior Member |
|
|
how do u go about joining 3 tables together?
eg table A has pk/fk with table B
table B has pk/fk with table C
if i want to display info from table A and table C only, how do i do that?
|
|
|
|
|
Re: joining 3 or more tables together [message #373184 is a reply to message #373168] |
Mon, 02 April 2001 20:45 |
summer
Messages: 2 Registered: April 2001
|
Junior Member |
|
|
thanx for your help aish
i have just found out another way where u do a sub query
eg
select cust_lname from customer
where cust_code in ( select cust_code from invoice)
where inv_number = '2001'
this is just a really short version of the tutorial question that i am supposed to do.
|
|
|