The error I'm getting is Missing Expression
Below is my SQL statement
select
ecell_name,
ecell_relation,
pmm_datetime,
pmHoExeOutAttLteInterFQci1 As_Exec_Attempt_Out
--pmHoExeOutSuccLteInterFQci1 As_Exec_Succes_Out,
--(pmHoTooEarlyHoQci1) As Early_HO, (pmHoTooLateHoQci1) As Late_HO,
--(pmHoWrongCellReestQci1) As WrongCellReest_HO,
--(pmHoWrongCellQci1) As WrongCell_HO, (pmHoOscQci1) As Osc_HO
from PMMCOUNTER_DB.LC_N_EUTRANCELLREL_D
where substr (ECELL_NAME,1,4) in 'BKPA' and pmm_datetime BETWEEN TO_DATE('14/06/2019','DD/MM/YYYY') AND TO_DATE('15/06/2019','DD/MM/YYYY') and direction='Outgoing'
and GROUP BY ecell_relation
GROUP BYshould come after theWHEREclause and shouldn't be a part of it