Answers for "show table in mysql command"

SQL
15

mysql show all tables

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

mysql show create table

Copied mysql> SHOW CREATE TABLE tG
*************************** 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
0

show table structure mysql console

use DATABASE_NAME;
describe TABLE_NAME;
Posted by: Guest on March-03-2021

Code answers related to "show table in mysql command"

Code answers related to "SQL"

Browse Popular Code Answers by Language