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 'Recorder and (masterpieces.instrument=instrument.id or masterpieces.4th_inst=ins' at line 1