Help generate sql query
SELECT DISTINCT news FROM `comments` ORDER BY `id` DESC LIMIT 10
- it works, but only the news field is selected, and I need id, news, reg, name, comment, date_add
SELECT DISTINCT news,id,news,reg,name,comment,date_add FROM `comments` ORDER BY `id` DESC LIMIT 10
- this one doesn't work