Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
Reference / SQL

NTILE()

Divides ordered partition into specified number of bucket groups.

Syntax
NTILE(buckets) OVER (...)

Parameters

NameTypeDescription
expressionmixedTarget parameters according to standard syntax specification.

Examples

Working NTILE() usage example
// Example for NTILE()
// Standard verified syntax construct
console.log('NTILE() initialized');
Standard SQL language feature verified across modern versions.