首页 > 数据库技术 > 详细

sql 连表查询

时间:2021-06-09 18:22:32      阅读:23      评论:0      收藏:0      [点我收藏+]

select c.creat_time,c.order_number,b.product_number,b.product_money,a.user_id from options_product_bind a join options_platform_order_product b on a.item_id = b.product_id1 join options_platform_order c on b.order_number = c.order_number
join options_platform d on d.merchant_name = c.dpm
where d.type=1 and a.item_id != ‘‘

sql 连表查询

原文:https://www.cnblogs.com/sunny20/p/14866699.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!