I have problem with IFNULL function used within WHERE IN condition:
SELECT provider_id FROM provider WHERE provider_id IN ( IFNULL("131, 132",'999') )
I tried all quoting alternatives like:
SELECT provider_id FROM provider WHERE provider_id IN ( IFNULL("'131', '132'", '999') )
But can not get this done with PHP.
Could you please suggest how to correctly format the multi-value parameter within the IFNULL function?