I am new to SQL and I am trying to group the data according to the query below, but it is not grouping. The correct one was to exit, for example
select
left(P.ProjDesc,6),
COUNT(P.ProjID)
from Projetos P
where P.ProjStatus <> 9
group by p.ProjDesc