Viewing the generated SQL statements