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

WBOY
Release: 2016-06-06 09:36:55
Original
1015 people have browsed it

mysql遍历

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

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!