Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
94 B
1
Indexable
Never
SELECT 
order_id, 
total_amt,
NTILE(1) OVER (ORDER BY total_amt)
FROM tools_shop.orders