I have the following 2 tables:

Table1 (JobID, Description) JobID is unique in this table

Table2 (JobID, Description) JobID is not unique in this table, but has a 
foreign key to JobID in Table1

I need a query that will return all rows from Table1, but will also return the 
rows from Table2 where t1.JobID = t2.JobID

So, if there is a JobID = 1 in Table1 and 2 JobID = 1 in Table2, I need 3 rows. 
 The one from Table1 and the 2 from Table2

I'm having a hard time even explaining this, so hopefully this makes some sense.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/SQL/message.cfm/messageid:2573
Subscription: http://www.houseoffusion.com/groups/SQL/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.6

Reply via email to