SELECT DISTINCT l.*,
g.c_name
FROM article_list l
LEFT JOIN article_group g ON l.c_id = g.c_id
WHERE
ORDER BY n_date DESC
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY n_date DESC' at line 6