MySQL 列名查询

SELECT GROUP_CONCAT(COLUMN_NAME SEPARATOR ',') FROM
information_schema.COLUMNS
WHERE
TABLE_SCHEMA = 'feixmanagedb'
AND TABLE_NAME = 'encryptversiontbl';

posted @ 2023-09-12 10:28  剑存古风  阅读(14)  评论(0编辑  收藏  举报