You should not be using "Run" command (Ctrl+F11) to execute the SQL statements in the SQL scrapbook.
Instead, select the query line which you want to execute and use "Alt+S" (Execute current text) to execute that line of code.
To execute all lines of code in the SQL scrapbook, use "Ctrl+Alt+S" (Execute All)
You should not be using "Run" command (Ctrl+F11) to execute the SQL statements in the SQL scrapbook.
Instead, select the query line which you want to execute and use "Alt+S" (Execute current text) to execute that line of code.
To execute all lines of code in the SQL scrapbook, use "Ctrl+Alt+S" (Execute All)