How to select each record without repeating the same record?
Example:
ID item
------ -------
ABC item 1
XXX item 2
AXA item 3
ABC item 4
XXX item 5
From the table above, I just want to select each entry, such as ABC, XXX and AXA, without repeating it. How to do it in MS SQL 2005?
source
share