3 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SELECT
SQL_CALC_FOUND_ROWS
a.id,
b.id AS photo_id
FROM defaultusers a
LEFT JOIN photos b ON
b.user_id = a.id
WHERE
a.status = 'N'
GROUP BY a.id
ORDER BY a.lastlogin DESC
LIMIT 0,20;
SELECT a.id, a.name, (SELECT datei, width. height...) AS ??
3 Einträge, 1 Seite |