Try this trick for a select statement (not updates or deletes!):
Copy your line to the clipboard.
Open select a table (any table) in your database in Enterprise Manager, right click, and select show all rows (or show data, or whatever).
When the window opens up and displays the data, look for an icon near the top left that will display the SQL code applied (likely just a select from statement),
Replace the SQL Statement with what you have on the clipboard and requery by clicking the red "!" icon.
EM should reformat your code before displaying the results. If it doesn't, try adding a dummy table to the display and then removing it.
Sorry if this isn't step-by-step clear, but I'm going from memory.
Personally, I don't like the way EM formats statements, so I usually do some touch-up afterward, but its better than one long line of code.