select group_concat(`COLUMN_NAME` separator ',')

from information_schema.`COLUMNS`

where TABLE_SCHEMA='promo' and TABLE_NAME='promo_product';

posted on 2013-06-03 19:13  AdaYin  阅读(272)  评论(0编辑  收藏  举报