備忘錄: 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