34,590
社区成员
发帖
与我相关
我的任务
分享
select a.name from 订单表A a,订单商品表B b
where a.ID=b.id and b.name='商品名称'
select a.name
from 订单表 a ,订单商品表 b,产品名称表 c
where a.订单号=b.订单号 and b.商品名称=c.商品名称 and c.商品名称='CPU'
------这样??
select name from 订单表A a,订单商品表B b
where a.ID=b.id and b.name='商品名称'
select a.name
from 订单表 a ,订单商品表 b,产品名称表 c
where a.订单号=b.订单号 and b.商品名称=c.商品名称 and c.产口编号='1254'