Can't perform query on database Error:
Unknown column 'Legend' in 'where clause'