SQL problem: SELECT * FROM (SELECT globid,ordine,title FROM globalmoneta WHERE parentid="C-RPS" AND ordine<"16" GROUP BY ordine DESC LIMIT 1) AS a;