An Error Was Encountered

Error Number: 1064

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 'ft, article2form a2f WHERE a2f.article=69 AND a2f.form=f.id AND f.form_type=ft.i' at line 1

SELECT f.file, ft.id type FROM form rgeform_type ft, article2form a2f WHERE a2f.article=69 AND a2f.form=f.id AND f.form_type=ft.id AND (ft.id=1 OR ft.id=2)