BBDD error. Default Object Accio

SELECT c.tag FROM xp_classes c, xp_instances i WHERE i.id = AND i.class_id = c.id;

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND i.class_id = c.id' at line 4