I have 5 columns corresponding to answers in a trivia game database - right, wrong1, wrong2, wrong3, wrong4
I want to return all possible answers without duplicates.
Well you can use a UNION and run 5 select statements, one for each column in your table. It would look something like this:
SELECT right FROM answers
UNION
SELECT wrong1 FROM answers
UNION
SELECT wrong2 FROM answers
UNION
SELECT wrong3 FROM answers
UNION
SELECT wrong4 FROM answers
This will give you a single list containing all the answers. You'll still have duplicates though if you have multiple copies of the same answer within a single column.