Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

About Record Selection

Status
Not open for further replies.

Sleidia

Technical User
May 4, 2001
1,284
FR
Good morning,

It would be great if someone would have a solution to
the following problem:

When you have in one column:
A
C
C
C
B
B
D
A
...etc...

, how can you display the following?? :
A
B
C
D
...etc....

I hope this "simple" question won't bother anyone.
Thanks a lot.

 
hi ;)

assuming your column is named myColumn,
your select-statement should be:

SELECT DISTINCT myColumn FROM ...

that's it

greetings netcomander
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top