Não existem pilotos para mostrar! SELECT leonardo_flights.ID, userID, leonardo_flights.userServerID , leonardo_flights.filename, gliderBrandID,leonardo_flights.glider as glider,cat, FLIGHT_POINTS as FLIGHT_POINTS FROM leonardo_flights,leonardo_waypoints WHERE (userID!=0 AND private=0) AND cat=1 AND DATE_FORMAT(DATE,'%Y') = 2013 AND ( excludeFrom & 2 ) = 0 AND leonardo_flights.takeoffID=leonardo_waypoints.ID AND leonardo_waypoints.countryCode='CA' ORDER BY userID , userServerID, FLIGHT_POINTS DESC