Can not run sql query [code: 003]
SQL:
SELECT
drugs.id_drug,
drugs.name,
drugs.small_descr,
drugs.cache_price,
drugs.cache_max_cnt_in_min_dosage,
categories.name as cat_name,
cat_relations.visible
FROM
drugs,
categories,
cat_relations
WHERE
drugs.id_drug = cat_relations.id_drug
AND
categories.name = 'Woman\'s Health'
AND
categories.id_category = cat_relations.id_category
AND
cat_relations.visible = 1
AND
drugs.name <> 'Fondur'
ORDER BY RAND()
LIMIT 6;