sql.Format("select a.bookname,a.barcode,a.author,a.bookconcern,a.price,b.numbers from tb_bookinfo a inner join (select barcode,sum(numbers) numbers from tb_sell_sub group by barcode)as b on a.barcode = b.barcode and a.bookname = '%s' order by b.numbers desc",c_value);
(select barcode,sum(numbers) numbers from tb_sell_sub group by barcode)as b这个是什么意思呢?on后面的意思我懂
斯蒂芬大帝