查询订单表(orders)中查找所在国家(ShipCountry)为Belgium,Switzerland,且平均运费不小于10的的顾客及运费信息,结果显示为顾客编号(CustomerID)和平均运费(avgFreight)
提示:请使用SELECT语句回答。
select CustomerID,AVG(freight ) asavgfreightfromorderswhereshipcountryin (Belgium ),Switzerland ) )组按自定义
查询订单表(orders)中查找所在国家(ShipCountry)为Belgium,Switzerland,且平均运费不小于10的的顾客及运费信息,结果显示为顾客编号(CustomerID)和平均运费(avgFreight)
提示:请使用SELECT语句回答。
select CustomerID,AVG(freight ) asavgfreightfromorderswhereshipcountryin (Belgium ),Switzerland ) )组按自定义
版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。