Mysql, where clause is ambiguous

NoSuchKey