select *<br />
from PRO,<br />
(select * from ATTR2pro where attr_id=1 and value=15) t1, <br />
(select * from ATTR2pro where attr_id=2 and value=20) t2<br />
where PRO.pro_id=t1.pro_id and PRO.pro_id=t2.pro_id
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn