sql求最大值语句

selectmax(sum),numfrom表groupbynum

SQL求最大值怎么写

selectid,num*pricefromtaleorderby2desc如果只选择最大的top1id,num*pricefromtaleorderby2desc发送回复