Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL - Need No Dups Based on Case
Message
From
19/05/2004 16:28:24
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
18/05/2004 11:16:00
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00904952
Message ID:
00905398
Views:
7
>I need one SQL statement that will return records with no duplicates based on case:
>
>
>Raw data example:
>
>Aa
>Bb
>CC
>aa
>Dd
>bb
>aA
>ee
>
>Desired result set:
>
>Aa
>Bb
>CC
>Dd
>ee
>
Hi Jay,

You haven't specified why you're choosing "Aa" and not "aA." If you want the first one you see then you'd need to order them somehow and go from there. If you just want any one then the advice to select the MIN() is probably ok.
Previous
Reply
Map
View

Click here to load this message in the networking platform