![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Phoenix
以Phoenix操作为主。
可爱团
这个作者很懒,什么都没留下…
展开
-
Phoenix查询语句
Phoenix查询语句 1、统计字段的平均值 select avg(字段名) from 表名; 2、统计多个重复数据各有多少个 select count(*) from (select 字段名 from表名 group by 字段名); 3、查询前n条数据 select * from 表名 order by 字段名 desc limit n;(n为任意值) 4、重复数据分别计数 select count(字段名) from 表名 group by 字段名; 5、对某字段创建索引表 create index原创 2020-10-28 21:46:32 · 2501 阅读 · 0 评论 -
关于Phoenix报错:Inconsistent namespace mapping properites的解决方案
关于Phoenix报错:Inconsistent namespace mapping properites的解决方案 报错信息如下: Exception in thread "main" java.sql.SQLException: ERROR 726 (43M10): Inconsistent namespace mapping properites.. Cannot initiate connection as SYSTEM:CATALOG is found but client does not h原创 2020-10-28 16:20:56 · 2834 阅读 · 1 评论