结合group by 使用,并需要知道多列(col1,col2 ...)中一个列的值 select count(*) from Table where col1=#{col1} group by col1,col2 ... 相关文章: