Error in query! SELECT * FROM leonardo_live_flights f
WHERE f.lastPointTM <= 1730880850
AND f.private = 0 AND f.lastPointTM >= 1728259200 AND f.userID IN (
SELECT u.userID
FROM live.leonardo_live_groups g
INNER JOIN live.leonardo_live_user_groups u
ON g.groupID = u.groupID
WHERE 1 AND ( g.name IN ('eruk') ) )
ORDER BY f.lastPointTM DESC
LIMIT -10,10