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 'Bayview Ave.

SELECT *, TIME_FORMAT(meetings.time, '%l:%i') as ftime, TIME_FORMAT(meetings.time, '%p') as ampm FROM meetings, format WHERE meetings.id = format.id AND meetings.active = 1 AND format.22577 Bayview Ave.