get_table_sample
Preview table data by fetching a small row sample to understand format and content before writing queries.
Instructions
Fetch a small sample of rows from a table to understand its data format and content. Use alongside get_schema_info before writing complex queries. Accepts bare table names (uses MYSQL_DATABASE) or database.table for cross-database lookups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Table to sample. Use database.table notation for cross-database queries. | |
| limit | No | Number of rows to return (default 5, max 20). |