Ciao a tutti,
ho una query che mi deve estrarre tutti i record degli ultimi 5 anni :
ma ovviamente mi restituisce "Subquery returns more than 1 row"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
Come posso fare ?
Grazie in anticipo