format SQL nicer