case when factsqy is NULL then '0' when factsqy is NOT NULL then factsqy end as factqtys 转载于:https://www.cnblogs.com/csj007523/archive/2008/07/30/1256471.html