select
GROUP_CONCAT(CONCAT('i.',COLUMN_NAME,''))
from
(
select COLUMN_NAME from information_schema.COLUMNS where table_name = 'inventorycheck' and table_schema = 'hystorage'
)t

posted on 2020-09-27 16:18  不知勿言  阅读(896)  评论(0编辑  收藏  举报