Fixed the SQL and code listing formatting