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