The NULLIF function in some SQL dialects takes two arguments.
I am working on a project of migrating from MySQL to PostgreSQL, some function can't works well in PostgreSQL like …