Home >Database >Mysql Tutorial >select-mysql 嵌套查询,一个表的多个字段 作为另一个表的条件,求高手

select-mysql 嵌套查询,一个表的多个字段 作为另一个表的条件,求高手

WBOY
WBOYOriginal
2016-06-06 09:34:351802browse

mysqlselect

SELECT daan
FROM 表A

WHERE daan IN (SELECT 选项1,选项2 FROM 表B)

Statement:
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