文章分组统计后的,在的到总行数,为什么有错???select count(*) from (select author,count(*) from articles group by author)
解决方案 »
- 如何查询一个varchar字段中是否含有非数字?
- 求一个约束的写法
- sqlserver减法: int类型减去null类型等于null类型?
- 【Mssql 问题】使用全文检索Contains引起的问题
- 我用 telnet IP 1433 命令测试的时候,提示“正在连接到〈IP地址〉...无法打开到主机的连接 在端口 1433 : 连接失败”,有哪些原因会造
- 用什么方法得到某张表里是否存在记录,在线等。
- 为什么无法创建数据库快照?
- Sql Server 2008 行列转换 不会用case when?
- no pains,no gains. work for the beautiful girl here and for our beautiful life
- 求一个SQL复合查询的问提,请各位DX帮忙,在线等,急,,,,谢谢
- 请教一个sqlserver2005的函数返回表值的问题
- 求条SQl语句
select count(distinct author) from articles
select count(*) from (select author,count(*) from articles group by author) AS a服务器: 消息 8155,级别 16,状态 2,行 1
没有为第 2 列(属于 'a')指定列。
select count(*) from (select author,cn = count(*) from articles group by author) AS a