All Forums Database
auanup 1 post Joined 06/16
15 Jun 2016
How to group depending on number of records

I have one doubt.
Suppose my table contains 1000 records, I need to write a sql statement to group table in equal number of records.

dnoeth 4628 posts Joined 11/04
15 Jun 2016

How many groups?
Based on a specific order?


yuvaevergreen 93 posts Joined 07/09
16 Jun 2016

You need to have an order by clause and group the records...Is that your exact requirement?

You must sign in to leave a comment.