mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-26 11:48:52 +03:00
17 lines
528 B
Plaintext
17 lines
528 B
Plaintext
USE tpch1;
|
|
drop table if exists `football_teams`;
|
|
CREATE TABLE `football_teams` (
|
|
`num` int(11) DEFAULT NULL,
|
|
`name` varchar(32) DEFAULT NULL,
|
|
`roster_size` int(11) DEFAULT NULL
|
|
) ENGINE=Columnstore;
|
|
insert into football_teams VALUES (1,'Green Bay',53);
|
|
insert into football_teams VALUES (2,'Chicago',53);
|
|
insert into football_teams VALUES (3,'Detroit',53);
|
|
insert into football_teams VALUES (4,'Minnesota',53);
|
|
select * from (select num from football_teams order by num limit 3 offset 2) a;
|
|
num
|
|
3
|
|
4
|
|
drop table football_teams;
|