SELECT
esquadrao_reserva,
cafe,
almoco,
jantar,posto,
CASE WHEN posto IN (‘MB’,‘BR’,‘CL’,‘TC’,‘MJ’,‘CP’,‘1T’,‘2T’,‘AP’) THEN “OFICIAL” WHEN posto IN (‘SO’,‘1S’,‘2S’,‘3S’) THEN “GRADUADO” WHEN posto IN (‘S2’,‘S1’,‘CB’) THEN “PRAÇA” END AS refeitorio
FROM
reserva
retorna esse erro
SelectLimit(SELECT esquadrao_reserva, cafe, almoco, jantar, posto, CASE WHEN posto IN (‘MB’,‘BR’,‘CL’,‘TC’,‘MJ’,‘CP’,‘1T’,‘2T’,‘AP’) THEN “OFICIAL” WHEN posto IN ('BR’0,'BR’1,'BR’2,'BR’3) THEN 'BR’4 WHEN posto IN ('BR’5,'BR’6,'BR’7) THEN 'BR’8 END as refeitorio from reserva , 12, 0)