Currently I have this query:
SELECT column1,column2 FROM table
column1 needs to be distinct, column2 does not.
SELECT DISTINCT column1, NON-DISTINCT column2 FROM table
Now I know that doesn't make sense but I need column1 to be distinct and column2 to be anything. How would I do that.