Select
client_id as Client,
ApplicantFullName as ClientName,
CounselorName as Counselor,
lastapptdatetime,
tdate,
TUDCounselor,
TDDate,
FUD1,
FUD2,
FUD3,
FUD11,
FUD21,
FUD31
From PDT_Counselor_CO_View
where coalesce (complete,0) <>1 or coalesce(tud,0) <> 1
and tdate >= dateadd(dd, datediff(dd, 0, getdate()) - 30, 0)
Order by client_id desc
This is my...