mysql isnull

IF(`apformId` IS NULL,0,1)

原文地址:https://www.cnblogs.com/percent10/p/10654349.html