Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Short quesiotn -- Intersect Operation
Message
 
 
To
06/06/2002 23:46:35
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00665782
Message ID:
00665794
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
Jimi,

You can also use an INNER JOIN here
select distinct depositer.cust_code from depositer ;
   inner join borrower ;
      on depositer.cust_code = borrower.cust_code
>I have syntax error in the following SQL statement, how should I fix it?
>
>(select distinct cust_code from depositer);
>intersect;
>(select distinct cust_code from borrower)
>
>I just copied the statement from my reference book, does VFP have different syntax when process SQL statement?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform