mysql常用sql操作语句_MySQL
来源:懂视网
责编:小采
时间:2020-11-09 19:14:18
mysql常用sql操作语句_MySQL
mysql常用sql操作语句_MySQL:获取数据库里所有表SELECT TABLE_NAME,TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='数据库名'获取表里所有字段select column_name from information_schema.columns where table_sche
导读mysql常用sql操作语句_MySQL:获取数据库里所有表SELECT TABLE_NAME,TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='数据库名'获取表里所有字段select column_name from information_schema.columns where table_sche
获取数据库里所有表
SELECT TABLE_NAME,TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='数据库名'
获取表里所有字段
select column_name from information_schema.columns where table_schema='数据库名' and table_name='表名'
声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
mysql常用sql操作语句_MySQL
mysql常用sql操作语句_MySQL:获取数据库里所有表SELECT TABLE_NAME,TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='数据库名'获取表里所有字段select column_name from information_schema.columns where table_sche