String all="select sShopCode,sum(iNumb) as iNumbHj,sum (rMoney) as rMoneyHj from [Data_ShopDailyBill_View] where (dDjDate>='"+qishiriqi+"' and dDjDate<='"+jiezhiriqi+"') group by sShopCode";
Statement stmt = conn.createStatement();
ResultSet rs=stmt.executeQuery(all);
while(rs.next()){
session.setAttribute("sShopName",rs.getString(1));//这里取到的sShopName是查询出来的所有的sShopName的一列数据吗?
如上注释中的问题
我现在是用纯jsp想实现查询并显示所有查询到的数据,