Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLExec to handle two SQLs
Message
 
 
À
20/03/2003 11:26:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00767949
Message ID:
00768147
Vues:
28
>>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform