Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filtering without Group By and Having ?
Message
De
06/12/2001 17:12:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00590837
Message ID:
00590871
Vues:
20
Jim --

Won't 2 conditions in the WHERE clause suffice, rather than using a subquery in this situation?

Jay

>Steve,
>
>Try something like this;
>
>
>
>SELECT * ;
>  FROM MyTable ;
> WHERE First condition is true ;
>   AND MyTable.Primarykey NOT IN (SELECT PrimaryKey ;
>                                    FROM MyTable BB ;
>                                   WHERE Second condition is not .T.) ...
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform