1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-02-26 06:39:45 +00:00
sqlite-parquet-vtable/tests/templates/009-rowid-group-by.sql
Colin Dellow e2af2a07a4 Make rowid start from 1, not 0
Unclear whether this is strictly required, but I'm going to start using
SQLite as an oracle, and it'll be simpler if our rowids match theirs.
2018-03-18 17:03:46 -04:00

12 lines
111 B
SQL

select rowid % 10, count(*) from nulls1 group by 1 order by 1
0|9
1|10
2|10
3|10
4|10
5|10
6|10
7|10
8|10
9|10