Quantcast
Channel: ITPUB论坛-专业的IT技术社区
Viewing all articles
Browse latest Browse all 18583

请教sql划分区间

$
0
0
区间划分 id: 2,4,4,13,1,3,5,7,12,7,9,13,15,....100 num=4 distinct_id=80 将id划分成4个区间 保证每个区间内的distinct id 数量是一样的 num min_id max_id 1 1 30 2 30 55 3 55 78 4 78 ...

Viewing all articles
Browse latest Browse all 18583

Trending Articles