备忘录: sqlite 数据库查询姓氏人口
select substr(xm,1,1) as 姓, count(substr(xm,1,1)) as 人数 from pkrktable group by substr(xm,1,1) order by 人数 desc
备忘录: sqlite 数据库查询姓氏人口
select substr(xm,1,1) as 姓, count(substr(xm,1,1)) as 人数 from pkrktable group by substr(xm,1,1) order by 人数 desc