当前位置:Gxlcms > 数据库问题 > 【原】MySQL实用SQL积累

【原】MySQL实用SQL积累

时间:2021-07-01 10:21:17 帮助过:1人阅读

select COLUMN_NAME from information_schema.COLUMNS where table_name = your_table_name and table_schema = your_db_name;

2、mysql数据库中是否存在某张表

1 SELECT table_name FROM information_schema.tables WHERE table_schema = your_db_name and table_name = your_table_name

 

【原】MySQL实用SQL积累

标签:

人气教程排行