Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT - SQL command
Message
From
30/07/2002 14:09:05
 
 
To
30/07/2002 13:29:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00684054
Message ID:
00684074
Views:
16
>Can someone help me about SELECT-SQL command.
>
>I need an explanation of clauses EXISTS, SOME and ANY.

Found this in the Help File....maybe it helps describe for you.

When the filter condition includes ANY or SOME, the field must meet the comparison condition for at least one of the values generated by the subquery.
company < ANY ; && or SOME
(SELECT company FROM customer WHERE country = "UK")
This example checks to see whether at least one row meets the criterion in the subquery. When the filter condition includes EXISTS, the filter condition evaluates to true (.T.) unless the subquery evaluates to the empty set.
EXISTS ; 
(SELECT * FROM orders WHERE customer.postalcode=orders.postalcode)
Previous
Reply
Map
View

Click here to load this message in the networking platform