GBase 8a
其他
文章
GBase 8a行列混存表使用
发表于2024-12-30 20:04:2723次浏览1个评论
1、行列混存表
drop table if exists test.t_grouped;
CREATE TABLE test.t_grouped(a int,b int,c int,d int,GROUPED a(b,c) COMPRESS(5));
insert into test.t_grouped values(1,1,1,1);
insert into test.t_grouped values(1,1,1,2);
insert into test.t_grouped values(1,1,1,3);
select * from test.t_grouped;
update test.t_grouped set a=3 where d=3;
select * from test.t_grouped;
delete from test.t_grouped where d=2;
select * from test.t_grouped;
评论
登录后才可以发表评论
GBase用户51887发表于 2个月前
向大佬学习
热门帖子
- 12025-12-01浏览数:182764
- 22023-05-09浏览数:25062
- 42023-09-25浏览数:18526
- 52020-05-11浏览数:17529