一个关于查询效率的问题
GoodsNumber为表EntryStore的keyword,有以下两条查询语句:1. select GoodsNumber,Sum(Quantity) from EntryStore and BillType='1' group by
GoodsNumber;
2. select GoodsNumber,Sum(Quantity) from EntryStore DepartmentID!='4' and BillType='1' group by
GoodsNumber;
请问哪条语句查询效率更高