create view if not exists schools_lead
as
select *,
result||' '||rpt_unit as tooltip
from lead l,
schools s
where s."Campus Name" = l.school_name
and l.water_system_county = s."County Name"
and l.xmod in ('=','>')
and rpt_unit = 'UG/L'
and cast(result as REAL) > 5;