Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select from select
Message
From
13/03/2006 23:32:55
 
 
To
13/03/2006 20:07:29
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01104014
Message ID:
01104030
Views:
13
This message has been marked as the solution to the initial question of the thread.
>Hi
>
>in version 9 I can code
SELECT mytable.* ;
>	FROM (SELECT linkfield FROM othertable WHERE test = testvalue GROUP BY linkfield) as tLink ;
>		INNER JOIN mytable ON tLink.linkfield = mytable.linkfield
>which is really fine. Is it possible to achieve the same result in version 6 (odbc)?
>
>regards
>Geoff Scott

Does
SELECT * FROM mytable
  WHERE mytable.linkfield IN (SELECT linkfield FROM othertable WHERE test = testvalue)
do the trick?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform