Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLExec to handle two SQLs
Message
 
 
To
20/03/2003 11:26:16
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00767949
Message ID:
00768147
Views:
29
>>You can use first query as a derived table.
>>
SELECT News.Numero, News.CustomerName FROM ( ;
>>       SELECT MIN(News.Numero) AS Numero FROM News WHERE Priority=1 ) Temp
>> INNER JOIN News ON Temp.Numero = News.Numero
>
>Thanks, this is what I was looking for. I'll try that. In my original message, I forgot to include the GROUP BY clause in the first SQL. But, I guess this approach can still work.

Yes, it'll.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform