1.group by 和求和函数的使用
select className,SUM(num) as sumNum FROM test GROUP BY className
2.更新一个字段的所有值
update table set 列明=1