Invalid query!!!
Select trim(name) controller, trim(ifc) ifc from tbl_controllers
where status = 'Active'
and ifc != ''
and ifc is not null
and DATEDIFF(utc_timestamp,last_active) <= 90
order by controller