Fix some SQL: that table has a column named annotation_id, not tag_id.