Answers for "how to see a table in mysql"

SQL
15

mysql show all tables

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

how to use a database to see tables mysql

use database_name;
show tables;
describe table_name;
Posted by: Guest on September-07-2021
2

mysql command show tables

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

show table info mysql

Copied mysql> DESCRIBE pet;
+---------+-------------+------+-----+---------+-------+
| Field   | Type        | Null | Key | Default | Extra |
+---------+-------------+------+-----+---------+-------+
| name    | varchar(20) | YES  |     | NULL    |       |
| owner   | varchar(20) | YES  |     | NULL    |       |
| species | varchar(20) | YES  |     | NULL    |       |
| sex     | char(1)     | YES  |     | NULL    |       |
| birth   | date        | YES  |     | NULL    |       |
| death   | date        | YES  |     | NULL    |       |
+---------+-------------+------+-----+---------+-------+
Posted by: Guest on January-10-2021

Code answers related to "how to see a table in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language