Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLExec to handle two SQLs
Message
From
20/03/2003 11:26:16
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00767949
Message ID:
00768134
Views:
23
>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform