Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple SQL?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Simple SQL?
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01287483
Message ID:
01287483
Views:
57
What would be the syntax to get the ctrl#,item from 2 like tables where customer='JONES'? My syntax returns duplicates from table 2.

SELECT a.ctrl,a.item,b.ctrl,b.item FROM e:csu8 a , e:csu7 b ;
WHERE a.cust_name = b.cust_name AND a.cust_name='JONES'
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Next
Reply
Map
View

Click here to load this message in the networking platform