Bonjour,


Le lundi 23 mai 2022, Olivier a écrit...


> Exemple:
> SELECT IFNULL("ABC", macolonne2) AS foo WHERE macolonne1=123

Peut-être :
select coalesce((select macolonne2 from matable where macolonne1=123),
        'ABC');

-- 
jm

Répondre à