Join tables
join_tablesJoin multiple tables or views using explicit, schema-validated conditions. Query up to 200 rows with up to 6 joins, without raw SQL.
Instructions
Select across multiple tables/views with explicit join conditions. Every table and column is validated against the real schema (same as browse_table/query_table) — no raw SQL fragments are accepted. Max 200 rows, up to 6 joins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | The first table in the FROM clause | |
| joins | Yes | Joins, applied in order — each may only reference aliases already introduced | |
| limit | No | Row limit (default 50, max 200) | |
| where | No | Optional single WHERE condition | |
| columns | No | Columns to select, as {alias, column} pairs. Defaults to all columns from all joined tables, each output as alias_column. |