Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Count of Records
Message
 
À
20/10/2008 15:46:37
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01355949
Message ID:
01355951
Vues:
22
>I need a count of all records where my sql is looking at three distinct fields:
>
>Select Count(Distinct f1, f2, f3) From table1 Where mydate > startdate
>
>Thanks for the help.


select count(*) from (select distinct f1,f2,f3 from table1 where mydate>startdate) as temp1
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform