Say I have a table with some columns as
-conversation_id,
-col2,
-user_id.
I want to grab all the rows corresponding to user_id. There could be, say, 20 rows returned for a particular, but there are only say 3 unique conversation_id values.
What is the fastest way to get these values, rather than going through each one and figuring out the unique ones?
I must say, I mean this in PHP!
Thankss!!