• 周二. 9月 27th, 2022

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

sql语句 两表关联查询计算数量

admin

11月 28, 2021

select sum(a1.`num`)   from `order_orderlistrow` as a1 INNER JOIN `order_orderlist` as a2 on a1.`order_orderlist_id`  = a2.`id`  where a1.`goods_good_id` =’54’ and a2.`state` <> ‘0’

发表回复

您的电子邮箱地址不会被公开。