I know this actual syntax is bogus, but it will help you understand what I am wanting. I need it in this format, because it is part of a much bigger query.
select location,
count(*) as tot_proj where project_status='live',
sum(fte_count) as tot_emp where project_status='live' and fte_count != 'NULL'
from table_name
group by location
i want all this in one query...i tried this one
select count(*) as tot_proj,
"location" ,
sum(fte_count::float) as ft
from insights_view iv2
where project_status = 'Live' and fte_count != 'NULL'
group by "location"
but my tot_proj count is not matching...