Sto cercando di capire come controllare se un campo è NULL
o vuoto . Ho questo:
SELECT IFNULL(field1, 'empty') as field1 from tablename
Devo aggiungere un ulteriore controllo field1 != ""
qualcosa come:
SELECT IFNULL(field1, 'empty') OR field1 != "" as field1 from tablename
Qualche idea su come ottenere questo risultato?