Problem to query

I get problem like

SP2-0042: unknown command "UNION" - rest of line ignored.
ERROR at line 412:
ORA-00933: SQL command not properly ended

Open in new window

to attached query. What to adjust?
LVL 11
HuaMin ChenSystem AnalystAsked:
Who is Participating?
Ferruccio AccalaiConnect With a Mentor Senior developer, analyst and customer assistance Commented:
Just a guess, but take a look before the first UNION occurence. There's an empty line that could cause the error. Delete it and then it should work
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.