Answers for "show a table in mysql"

SQL
15

mysql show all tables

show tables;
Posted by: Guest on March-19-2020
2

mysql show table fields

DESCRIBE my_table;
Posted by: Guest on October-25-2020
2

mysql command show tables

SHOW TABLES;
Posted by: Guest on September-09-2020
0

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
Posted by: Guest on July-16-2020
-1

show tables mysql

Press CTRL+C to copy SHOW [EXTENDED] [FULL] TABLES
    [{FROM | IN} db_name]
    [LIKE 'pattern' | WHERE expr]
Posted by: Guest on October-23-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language