case when f.FPH is NULL then a.HSJE else f.KPHSJE end yescase f.FPH when NULL then a.HSJE else f.KPHSJE end no
SQL case when 遇到null值
原文:https://www.cnblogs.com/kubimiantiao/p/11672716.html