Ошибка в SQL-запросе: SELECT cprice_goods_features.ID_GOOD FROM cprice_goods_features NATURAL JOIN cprice_goods NATURAL JOIN cprice_rubric_goods WHERE ID_FEATURE=95 and ID_RUBRIC=111 and goodfeature_value= and good_deleted=0 and good_visible=1 : 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 good_deleted=0 and good_visible=1' at line 3