*,CASE
WHEN ujz.字段名=1 THEN (SELECT concat(jk.字段名,',',jk.字段名) from a表名称 jk WHERE ujz.字段名=jk.字段名)...WHEN ujz.字段名=9 THEN (SELECT concat(jk.字段名,',',jk.字段名) from b表名称 jk WHERE ujz.字段名=jk.字段名)
WHEN ujz....字段名=7 THEN (SELECT concat(jk.字段名,',',jk.字段名) from c表名称 jk WHERE ujz.字段名=jk.字段名)
else '0,0'
end AS