Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql counting duplicates, possible
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01620702
Message ID:
01620738
Views:
54
>Here it is. Using min(Vs), keepInfo found the first in alphabetical order. Using min(mRec), keepInfo found the top record in each group.
>
>
>mDate-----------Vs-----mRec-----keepInfo----cntdups---minVs
>05/28/2013-----menu------2---------1----------3---------2
>05/28/2013-----conso-----3---------0----------3---------2
>05/28/2013-----dire------4---------0----------3---------2  
>08/28/2013-----henr-----18---------1----------2---------2
>08/28/2013-----tran-----19---------0----------2---------2
>09/16/2013-----texa-----25---------1----------2---------2
>09/16/2013-----key------26---------0----------2---------2
>
>
>Thank you very much again!!!
>STeve
>

You're welcome.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform