You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
166 B
5 lines
166 B
11 years ago
|
WITH data AS (
|
||
|
SELECT array_agg(x) x FROM generate_series(1,100) x
|
||
|
WHERE x % 5 != 0 AND x % 7 != 0
|
||
|
)
|
||
|
SELECT unnest(CDB_QuantileBins(x, 7)) FROM data
|