Ошибка выполнения sql:
SELECT U.ID, U.CITY, C.NAZ as city_name, U.NAZ, U.AVATAR, U.COUNTRY,Y.NAZ as country_name, U.COMMRUS FROM IUSER U, REFBOOK C, REFBOOK Y WHERE U.ID>0 AND C.ID=U.CITY AND Y.ID=U.COUNTRY AND U.ID= ORDER BY U.ID DESC LIMIT 0, 1