Thread mysql query: finde neuste settings pro user (4 answers)
Opened by esskar at 2010-01-06 07:27

esskar
 2010-01-06 08:18
#130088 #130088
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
habs jetzt mit einem verschachtelten SELECT gelöst
Code: (dl )
1
2
3
SELECT * FROM (
SELECT * FROM tiet_user_settings AS us WHERE us.userId = ? ORDER BY created DESC
) AS tmp GROUP BY settingId

View full thread mysql query: finde neuste settings pro user