Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 level SQL
Message
 
 
À
15/05/2008 18:40:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01317489
Message ID:
01317493
Vues:
13
select maillist.* ;
 from maillist ;
 WHERE  personid IN (select personid from list_members where list_id > 67) ;
 order by company
>For you SQL gurus out there, is there a way this sequence could be combined into one command?
>
>
>select dist personid from list_members where list_id>67 into cursor crsTemp
>
>select maillist.* ;
>from maillist ;
>inner join crsTemp ;
>on crsTemp.personid = maillist.personid ;
>order by company
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform