selecionar

Incorrect syntax near the keyword 'group'.
Select count(*) as Presenca, Acompanhante from Evento_Confirmacao where PublicacaoID = 42864 AND OperadorID = group by Acompanhante