Du kan lave NULL fra tom streng i MySQL :
SELECT coalesce(NULLIF(email, ''), 'example@sqldat.com') FROM users WHERE id=1000000;
Du kan lave NULL fra tom streng i MySQL :
SELECT coalesce(NULLIF(email, ''), 'example@sqldat.com') FROM users WHERE id=1000000;