我想在统计一个表中的总价格。
当flag=1时的价格select sum(price) as price from data where flag=1当flag=2时的价格。select sum(price) as price from data where flag=2我想把这两个结果都放到一个报表中的QRDBText1和QRDBText2中。怎么实现!!