select sum(miprice)
from web_billdetail
where plineid = 8
group by miprice
//得出 1 2 两行
select sum(miprice)
from web_billdetail
where plineid = 8
//得出 3 一行
select sum(miprice)
from web_billdetail
where plineid = 8
group by miprice
//得出 1 2 两行
select sum(miprice)
from web_billdetail
where plineid = 8
//得出 3 一行