I am trying to get all distinct keywords from a table but it will give me duplicates.
$result = mysql_query("SELECT DISTINCT keyword_id, keyword FROM keyword ORDER BY keyword");
I need a query that ignores the keyword_id field and just gives me distinct keywords based on the keyword field. Should I use GROUP BY, how?