Below if the SQL I am trying to get to run. I am receiving the following error message upon execution: SELECT Failed 3707 Syntax error, expected something like an 'EXCEPT' keyword or an 'UNION' keyword or
Here is the code:
with dqry_cc ( mop_cd, mop_desc, group_branch_id, ecr_tmz_name ,
-- and ph_pymt_dt = ?
SELECT * FROM