9 Einträge, 1 Seite |
SELECT defaultusers.name FROM defaultusers LEFT JOIN ON sessions GROUP BY defaultusers.id LIMIT 0,10
SELECT defaultusers.name FROM defaultusers LEFT JOIN ON sessions GROUP BY defaultusers.id LIMIT 0,10
SELECT defaultusers.name FROM defaultusers LEFT JOIN ON sessions GROUP BY defaultusers.id LIMIT 0,10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
my $select = "SELECT SQL_CALC_FOUND_ROWS
defaultusers.id,
defaultusers.birthday,
defaultusers.name,
defaultusers.count_img,
defaultusers.wohnort,
IF(sessions.userid IS NOT NULL, '1','0')
FROM defaultusers LEFT JOIN sessions ON
defaultusers.id = sessions.userid
WHERE
defaultusers.status = 'N'
ORDER BY
IF(defaultusers.count_img >=1, 1, defaultusers.count_img) DESC,
defaultusers.lastlogin DESC
LIMIT $db_show, 8";
9 Einträge, 1 Seite |