I want to put together a view of the total Assets and Closed projects.
I have a projetos
table with the fields nome
, descricao
, ativo
(can be S or N)
SELECT COUNT(*) as Total FROM projetos WHERE ativo = 'S'
It returns me the total of active projects.
Is there any way to bring the total of active and closed projects into the same query?