Hi I have sql code like that:
SELECT vote_id, (SELECT type FROM vote_types WHERE id= 1) AS answer
FROM poll_answers
WHERE question_id =1;
and it displays me:

how to make this question so it can display another answer2 which vote_id = 2 in second row and not displaying answer1 again ?
thanks
1 Answer