Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Count of Records
Message
 
To
20/10/2008 15:46:37
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01355949
Message ID:
01355951
Views:
23
>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!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform