| |
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 '-25,30' 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
WHERE 1 AND
t1.chain_id=t2.chain_id AND t1.attr_value_id=1248 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=16 AND
1
ORDER BY hr.date DESC LIMIT -25,30 |
|