Answer table doesn't tie an answer to a specific survey, so when you try to get all answers for a specific survey, it will simply get the last inserted answer (which could belong to another survey)
Solution is to add a surveyId foreign key to the Answer table.