mysql_get_table_schema
Retrieve column definitions, primary key, indexes, and constraints to understand table structure before writing queries.
Instructions
Get table column definitions, primary key, indexes, and constraints. Use this to understand table structure before writing queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| database | Yes | Database (schema) name |