with MyClients as
( select [ID_client], count(distinct cast([date_new] as date)) UnqDays
from [Transactions_info]
where date_new > dateadd(day,-365,getdate()) -- берём транзакции за последние 365 дней
group by [ID_client]
)
select *
from MyClients
where UnqDays>=364 --Сегодняшний день пропускаем.
/*
для Microsoft SQL Server 2005+
*/