select datediff(campo_data,curdate()) as giorni from tabella