Data, Data Analysis, Data Engineering, Sql.
equal-width intervals. Example: Suppose you have a table scores with a column score and you want to bucketize scores into three equal-width intervals. SELECT score, WIDTH_BUCKET(score, 0, 100, 3) AS bucket FROM scores; Result: This query will assign each score to one of the three buckets based on