hi. i'm trying to get a list of usernames and dates according to who updated their journal last, and i'm running into a problem where GROUP BY is ignoring the ORDER BY clause that comes next. here's my query:
SELECT b.date_added, u.username FROM blogs AS b, users AS u WHERE b.user_id=u.id GROUP BY b.user_id ORDER BY b.date_added DESC;
the GROUP BY is not allowing b.date_added to be the latest date.
i've tried a bunch of other ways to no avail and would really appreciate some help.
thanks
olivia