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