Work with SQL?
Work with SQL generated by other people?
Work with SQL generated by other poeple using Access or some other tool that produces equally obtuse code?
Go to this self-explanatory site or just search for SQL beautify.
I don’t know why I didn’t think of doing this earlier.