Home  >  Article  >  Database  >  mysql-MYSQL 简单多表查询,需要大神门帮忙

mysql-MYSQL 简单多表查询,需要大神门帮忙

WBOY
WBOYOriginal
2016-06-06 09:36:551036browse

mysql遍历

图片说明
请各位大神帮忙。
要求:color表要遍历(不重复)
假如modal_id = 1 ,如果modal_color 表中存在 modal_1 ,对应status=1

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