mysql show table structure
DESCRIBE table_name; # To show table structure...
mysql show table structure
DESCRIBE table_name; # To show table structure...
get create table query existing table mysql
SHOW CREATE TABLE tablename
mysql show table fields
DESCRIBE my_table;
show create table query of table in mysql
SHOW CREATE TABLE tablename
show table mysql
# First, select your database
USE yourDb;
# Then, simply
SHOW TABLES;
mysql show create table
Copied mysql> SHOW CREATE TABLE t\G
*************************** 1. row ***************************
Table: t
Create Table: CREATE TABLE `t` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`s` char(60) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us