This approach may seems convoluted but you can see the table as a CREATE TABLE statement as follows (for this example the table you are looking up is mydb.mytable):
Step 01 : Open the MySQL Workbench
Step 02 : Open SQL Editor
Step 03 : In the left pane, right-click mydb and Click Set as Default Schema
Step 04 : In the above Query Pane called Query 1
type SHOW CREATE TABLE mytable;
Step 05 : On the toolbar, click the fifth icon (Execute SQL Script in Connected Server)
Step 06 : In Query 1 Result
below, float the mouse over the CREATE TABLE output (popup window with the table design will appear for 5-10 sec)
Step 07 : In Query 1 Result
below, float the mouse over the CREATE TABLE output. Right-click. Menu appears. Choose Open Value in Viewer
Step 08 : Popup window with title Edit Data for Create Table
Step 09 : Click Text
tab
Give it a Try !!!
CAVEAT You can use SHOW INDEXES FROM mytable;
but the output is in rows which you have to carefully read. The CREATE TABLE
approach just gives a cleaner display.