Skip to content

SQL Assessments & Investigations

clancyjane edited this page Sep 23, 2014 · 1 revision
select year(inv_ass_start),count(distinct intake_grouper)
from vw_intakes_screened_in tce
where year(inv_ass_start)>=2006and (fl_cfws =1or fl_frs=1or fl_risk_only=1or fl_alternate_intervention=1or fl_cps_invs=1ortce.fl_dlr=1ortce.fl_far=1)
andtce.cd_access_typein (1,2,4)
group by year(inv_ass_start)
order by year(inv_ass_start)

Clone this wiki locally