How do I select distinct only on one column.
Below is my current code...
$query_rs_media_new_group = "SELECT DISTINCT title, group_id, description, brand, weight, category, id FROM media_new";
My issue is that I need to select all the columns you see in my code. However I only want the "title" column to be DISTINCT.
What do I need to do?