{query} Database Error : 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 bw_tab_fb.f_id = bw_tab_firma.f_id' at line 3
SELECT count(bw_tab_firma.f_id) AS anz
FROM bw_tab_firma, bw_tab_fb
WHERE bw_tab_fb.b_id = AND bw_tab_fb.f_id = bw_tab_firma.f_id