Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I am picking up orphans in my SELECT statement?
Message
From
13/11/2000 09:45:13
 
 
To
08/11/2000 12:03:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00439280
Message ID:
00440977
Views:
11
>>Here is my code:
>>select tabletest1.order_date,;
>>tabletest2.custno,;
>>tabletest2.amount;
>>from tabletest1;
>>left join tabletest2 on tabletest1.custno = tabletest2.custno;
>>where substr(dtoc(tabletest1.order_date),7,2) = '99'
>>
>>I am picking up all the records in tabletest1 instead of just the
>>matches found with tabletest1.custno = tabletest2.custno? any ideas?
>
>Take out the LEFT JOIN - just make it a JOIN.
----
yea, that works..thanks..:)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform