查询组合一个字段
select FAccountDate, count(1) from mydb.mytable where FGood = 1 group by FaccountDate;
查询组合两个字段
select FAccountDate, FType, count(1) from mydb.mytable where FGood = 1 group by FaccountDate, FType;
查询组合一个字段
select FAccountDate, count(1) from mydb.mytable where FGood = 1 group by FaccountDate;
查询组合两个字段
select FAccountDate, FType, count(1) from mydb.mytable where FGood = 1 group by FaccountDate, FType;