There was an error, please try again.
select * from Survey where SurveyID = right.php

Unknown column 'right.php' in 'where clause'