|
Error in class CDbDriver, function Select() |
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 '-23,25' at line 19 Q:
SELECT DISTINCT(hc.href_id)
FROM expert_hrefs hr,
expert_href_sections hs,
expert_href_chains hc,
expert_sections_domains hd,
expert_chains t1,
expert_chains t2
,expert_chains t3
WHERE 1 AND
t1.chain_id=t2.chain_id AND t1.attr_value_id=1111 AND hc.chain_id=t1.chain_id AND hr.info_src_id!=41 AND
hr.id=hc.href_id AND hs.id=hr.section_id AND hr.is_show='1' AND
hs.id=hd.section_id AND hd.domain_id='1' AND
hs.id=14 AND
1
AND t2.attr_value_id=42
AND t3.attr_value_id=42 AND t2.chain_id=t3.chain_id
ORDER BY hr.date DESC LIMIT -23,25 |
|