Clean up sql statements for readability