A Database Error Occurred

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 'AND a.document_name = 'Brochure'' at line 3

SELECT b.* from property_docs as b left join property_documents a on a.id = b.doc_id where b.prop_id = AND a.document_name = 'Brochure'