|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Two table query
I'm just a basic SQL programmer, so forgive me if this is a basic problem.
I have two tables i want to query which are linked by CId number. I want to get name and address from table1 and the last order amount called total1 from table2 there are many orders for each CId but I just want the most recent. Any ideas? Thanks! Tom |
|
#2
|
|||
|
|||
|
Oh, I forgot.
I need to get all names and addresses from table1 even if there are no orders associated in table2 |
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > Two table query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|