1 条语句不能实现,只能多条语句如下select count(A),B from P where B between 10 and 20select count(A),B from P where B between 20 and 30
LZ还是回去好好学习一下SQL吧