jsp做网页,怎么进行数据库的统计

2025-03-23 00:33:23
推荐回答(2个)
回答1:

select count(city) from table where 条件 group by city

回答2:

如果<%@ contentType="text/html; charset=GBK"%>
ResultSet rs = statement.executeQuery(sql);处需要连接数据库的代码怎么写。