Error '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 region = b_cat_manufacters.id' at line 1'in 'SELECT b_cat_producers.name as n, b_cat_manufacters.name as r, region FROM b_cat_producers,b_cat_manufacters WHERE b_cat_producers.id= and region = b_cat_manufacters.id'