I’ve an SQL select statement that I use to display some records within a DataList. Within my database there are duplicate records (not in error, they are supposed to be there), but instead of these duplicates showing in the Datalist for every record; I want just one to be shown.
Records in database:
ID Names
1 John
2 Sean
3 Michael
4 John
5 William
Required selected:
John
Sean
Michael
William
Does anyone know who to achieve this?