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