A few quick things to remember:
Try to always use statement delimiters
Even before I go to execute this ‘statement’, SQL Devleoper is telling me I have a problem. The grammar check is failing. Notice those red squiggle lines? They actually mean something.
So, add a semi-colon, or do this:
Know the difference between executing a statement and executing a statement(s) as a script