Ciao a tutti,

ho una query che mi deve estrarre tutti i record degli ultimi 5 anni :

codice:
Select *
FROM
table1.*, table2.*
WHERE
table1.annoID=table2.annoID AND
table2.anno = (select anno FROM table2 ORDER BY anno DESC LIMIT 5)
ORDER BY table1.titolo
ma ovviamente mi restituisce "Subquery returns more than 1 row"

Come posso fare ?

Grazie in anticipo