show_create_table
Retrieve the CREATE TABLE or CREATE VIEW statement for a specific table or view in a MySQL or MariaDB database.
Instructions
Return SHOW CREATE TABLE / VIEW DDL for a table or view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name | |
| database | No | Schema name (optional if MYSQL_DATABASE is set) |