Forum Moderators: open
to clarify things a bit here is my table.
a, b, c, extra
---------------
1,2,1,this
1,2,1,that
2,2,2,this
3,3,1,this
4,4,2,this
if i do a SELECT DISTINCT a FROM table
then i get the data i need, but i also need the data in extra
if i do SELECT DISTINCT a,extra from table
then the data in extra screws it up.
i only need to search column a for distinct values, but need the data from all the columns.
hope you get the idea.
1 this
2 this
3 this
4 this
1 this
1 that
2 this
3 this
4 this
How would you like the data to come back? What is the desired result?