码迷,mamicode.com
首页 > 数据库 > 详细

mysql的查找语句

时间:2018-05-12 12:48:51      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:sel   use   sele   left join   info   name   order   SQ   user   

select a.uid,a.month,a.coin,b.name from m_user_decroration_order as a
LEFT JOIN m_decroration_info as b on a.decroration_id = b.id where b.type = 5 ;


select a.uid,a.month,a.coin,b.name from m_user_decroration_order as a
LEFT JOIN m_decroration_info as b on a.decroration_id = b.id where b.type = 6 ;

mysql的查找语句

标签:sel   use   sele   left join   info   name   order   SQ   user   

原文地址:https://www.cnblogs.com/starmoon2019/p/9028293.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!