
Em seguida, o seguinte comando SQL foi executado:
select sum(vagas)
from concurso
where to_char(data_real, 'yyyy') = '2022'
group byto_char(data_real, 'yyyy');
Esta consulta retornará:

Em seguida, o seguinte comando SQL foi executado:
select sum(vagas)
from concurso
where to_char(data_real, 'yyyy') = '2022'
group byto_char(data_real, 'yyyy');
Esta consulta retornará: