SELECT 产品ID,(名称+规格+型号) AS 产品资料 FROM 产品资料表 where 名称 not is null and 规格 not is null and 型号 not is null union all
SELECT 产品ID,(名称) AS 产品资料 FROM 产品资料表 where 名称 not is null and 规格 is null and 型号 is null union all
SELECT 产品ID,(规格) AS 产品资料 FROM 产品资料表 where 名称 is null and 规格 is null and 型号 null and union all
.... 有多少条件一直 UNION ALL 下去,这样的语句最通用。
如果你在纯 ACCESS 环境可以直接用
SELECT 产品ID, nz(名称,"") + nz(规格,"") + nz(型号,"") AS 产品资料
FROM 产品资料表