With the SHOW TABLES command, we can only get the name of the table, but no other information about the table. For example, we can see the list of tables in the database named tutorial as shown below -
mysql> show tables; +--------------------+ | Tables_in_tutorial | +--------------------+ | student | +--------------------+ 1 row in set (0.00 sec)
The above is the detailed content of How to get only the name of a table in a MySQL database without other details?. For more information, please follow other related articles on the PHP Chinese website!