select group_concat(COLUMN_NAME Separator ‘,‘) as COLUMN_NAME from information_schema.COLUMNS where table_name = ‘t_tk_question_info‘ and table_schema = ‘dsideal_db‘ ;
select group_concat(COLUMN_NAME Separator ‘,‘) as COLUMN_NAME from information_schema.COLUMNS where table_name = ‘t_sjk_paper_info‘ and table_schema = ‘dsideal_db‘ ;
select group_concat(COLUMN_NAME Separator ‘,‘) as COLUMN_NAME from information_schema.COLUMNS where table_name = ‘t_wkds_info‘ and table_schema = ‘dsideal_db‘ ;
原文地址:https://www.cnblogs.com/littlehb/p/9154798.html
时间: 2024-10-29 22:10:26