Ok danke an euch beide!
So klappt's:
So klappt's:
SELECT * FROM (SELECT c.id AS cid, c.user_id, c.content, u.id AS uid, u.name FROM chat c INNER JOIN user u ON c.user_id = u.id ORDER BY c.id DESC LIMIT 50) AS cid ORDER BY cid ASC