codice:
SELECT
if(name IS NULL, 5, name) as name
FROM tabella