请问如何对某一字段内容相同的记录的另一字段进行求和?我写的这句话返回的是空记录。
select chepai,sum(youliang) as youliang from youliao where chepai='''+querychepai.Text+'''谢谢!