prima  01/08/2018         dopo 03/08/2018 diario 32018select * from foto where id_data = '' and file <> '' order by id_data