Skip to main content

ntile

Function ntile 

Source
pub fn ntile<'a, V>(
    n: usize,
) -> WindowFnExpr<'a, V, <<V as SQLParam>::DialectMarker as CountPolicy>::Count, NonNull>
where V: SQLParam + 'a, <V as SQLParam>::DialectMarker: CountPolicy,
Expand description

NTILE(n) — divide rows into n roughly equal groups.

Returns an integer, never NULL.