BUG: fix read_sql delegation for queries without select statement (GH7324)

The select check was introduced for mysql legacy compatibility, but introduced problem if the query did not contain a select statement (eg a stored procedure)
Merge pull request #7326 from jorisvandenbossche/sql-delegation

BUG: fix read_sql delegation for queries without select statement (GH7324)