Hello,
I need help limiting inner join.
my query:
result:Code:SELECT uid FROM users AS u INNER JOIN files AS x ON u.fid = x.fid WHERE u.left = '0' AND x.flags = '0' AND u.active = '1' ORDER BY `u`.`uid` ASC
uid
3
3
3
3
7
47
47
47
47
47
47
47
47
47
47
I need to limit INNER JOIN to 5 only. like:
uid
3
3
3
3
7
47
47
47
47
47
If anyone could help me I will be very grateful
thank you









Bookmarks