日期:2025-07-15 19:01:51 人气:1 热门评论 在sql中怎样统计同一个姓的人数 select count(1) from users where name like '张%' 统计users表中姓张的人数 2012-06-08 16:14:19 阅读全文 有一个sql数据表存放人员的姓名等信息,如何查询相同姓氏的人数 select count(*),substring(name,1,1) from info group by substring(name,1,1) 2013-06-09 15:18:55 阅读全文
在sql中怎样统计同一个姓的人数 select count(1) from users where name like '张%' 统计users表中姓张的人数 2012-06-08 16:14:19 阅读全文
有一个sql数据表存放人员的姓名等信息,如何查询相同姓氏的人数 select count(*),substring(name,1,1) from info group by substring(name,1,1) 2013-06-09 15:18:55 阅读全文