prima  29/06/2017         dopo 01/07/2017 diario 2017select * from foto where id_data = '' and file <> '' order by id_data