SQL case when 遇到null值

case  when f.FPH is  NULL then a.HSJE else f.KPHSJE  end    yes

case f.FPH  when   NULL then a.HSJE else f.KPHSJE  end    no

原文地址:https://www.cnblogs.com/kubimiantiao/p/11672716.html