这三个mysql查询语句能不能合并成一句sql语句???

阿登玩转AI 阿登玩转AI 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
select id from engine_project a where a.project_name = #{projectName}

select wip from engine_machine a inner join engine_project b where b.id = a.project_id

select b.wip,b.create_date,b.type,b.id,b.acc,a.machine_name,a.machine_no,a.brand from engine_machine a inner join engine_location b where a.wip = b.wip and DATE_FORMAT(b.create_date,'%Y-%m-%d') > '2016-08-14'
...全文
评论 8
收藏 已收藏
分享
返回顶部
阿登玩转AI
疑难问题 22,299 成员 121,727 内容