10-181 将员工表中编号为133的员工的性别修改为“男”
update 员工
set 性别 = '男' where 员工编号 = 133;
10-182 在订单表中,查询运费在50元以下(不包括50元)的订单的全部信息
select * from 订单 where 运费<50;
10-183 在订单表中查询各位员工承办的订单数目
select 员工编号,count(*) as 订单数
from 订单
group by 员工编号
10-184 C1-1新增一个区域
insert into region
values
(5,'Center');
10-185 C1-2新增订单统计信息
insert into results
select CustomerID,count(*) as OrderCount
from orders
group by CustomerID;
10-186 C2-1修改订单运费
update orders
set Freight = Freight *