Computer >> Computer tutorials >  >> Programming >> MySQL

How can we get only the name having no other details about the tables in MySQL database?


With the help of SHOW TABLES command, we can get only the name having no other information about the tables. For example, we can see the list of tables in a database named tutorial as follows −

mysql> show tables;
+--------------------+
| Tables_in_tutorial |
+--------------------+
| student            |
+--------------------+
1 row in set (0.00 sec)