MySql Query Replace NULL with Empty String in Select

If you really must output every values including the NULL ones:

select IFNULL(prereq,"") from test

Leave a Comment