Unknown column 'survey.catagory' in 'where clause'