read_query
Execute read-only SQL for analytics on customers, orders, and products. Use joins, filters, and aggregations for reporting.
Instructions
Execute a read-only SQL query against the database. Use this tool for analytical aggregations, joins, filtering, CTEs, and reporting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (default 100, max 1000). | |
| query | Yes | The SQL SELECT or WITH query to execute. |