SyntaxFix
Write A Post
Hire A Developer
Questions
Try this, this should also get rid of those empty lines also:
SELECT prereq FROM test WHERE prereq IS NOT NULL;