Home > Database > Mysql Tutorial > 查询一个数据库中的所有表_MySQL

查询一个数据库中的所有表_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:31:35
Original
1328 people have browsed it

bitsCN.com

查询一个数据库中的所有表

 

SQL查询一个数据库中的表

 

select TABLE_NAME FROM 
Copy after login

数据库名

.INFORMATION_SCHEMA.TABLES Where TABLE_TYPE='BASE TABLE';
Copy after login

MySql查询一个数据库中的表

use 数据库

show tables;
Copy after login

 

 

bitsCN.com
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template