si puo in sql eliminare un gruppo di date??
ad esempio io ho fatto
DELETE * FROM `TABELLA` WHERE `data` >= '2007-12-07' AND data <= '2007-12-11'
Dove TABELLA è il nome della mia tabella sul db
io quindi voglio elimanre tutti i campi con la date fra il 7 e l'11 dicembre 2007
ma mi da un errrore il db e mi dice
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM `assistenza` WHERE `data` >= '2007-12-07' AND `data`<= '2007-12-11'' at line 1
sbaglio la sintassi??
![]()