information_schema的结构

select schema_name from information_schema.schemata;

select table_name from information_schema.schemata where table_schema = ‘zzcms’;

select column_name from information_schema.columns where table_schema = ‘zzcms’ and ‘table_name’ = ‘zzcms_zx’;

猜你喜欢

转载自blog.csdn.net/wyj____/article/details/81224073