Unknown column 'i.ItemId' in 'field list' code example
Example: unknown column in field list
Try using different quotes for "y" as the identifier quote character is the backtick (“`”). Otherwise MySQL "thinks" that you point to a column named "y".
See also MySQL 5 Documentation