1
2#If you really must output every values including the NULL ones
3select IFNULL(prereq,"") from test
4
5#OR, Coalesce will return the first non-null argument passed to it
6#from left to right. If all arguemnts are null, it'll return null, but we're forcing an empty string there, so no null values will be returned.
7SELECT COALESCE(prereq, '') FROM test
8