小编Gri*_*y P的帖子

Teradata:如何按行号划分表格?

如何按行号划分几个部分的表格?条件可能如下所示:

create table part1 as
Select * from table
where row_number between 1 and 1000000

create table part2 as
Select * from table
where row_number between 1000001 and 2000000
Run Code Online (Sandbox Code Playgroud)

谢谢

sql teradata

1
推荐指数
1
解决办法
823
查看次数

标签 统计

sql ×1

teradata ×1