SQL (Not So) Pretty Printer