Caio a tutti,

mi potete dire se la seguente query è corretta?

SELECT SUM( visite ) AS totali, SUM( giornaliere) AS giornaliere, SUM( annuali ) AS annuali,
FROM st_vis
WHERE st_gg
BETWEEN '1167606000'
AND '1199142000'

mi da il seguente errore:

#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 st_data
WHERE st_gg between '1

la tabella del database esiste.... WHERE st_gg between '1 qua invece non capisco come mai si fermi con 1 dubbio

grazie