Run a read-only query
run_selectExecute single SELECT or WITH queries in a read-only transaction, with results capped and sensitive columns masked, while rejecting any write or stacked statements.
Instructions
Run one SELECT or WITH statement. Anything else is refused, including stacked statements, DDL, DML and SELECT INTO. The query runs in a read-only transaction with a statement timeout, results are capped and secret-looking columns masked. There is no write mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | A single SELECT or WITH statement. No trailing second statement. |