I have a sample table named assets which looks like this:
id | name | block_no |
---|---|---|
1 | asset1 | 2 |
2 | asset2 | 2 |
3 | asset3 | 3 |
There can be any number of assets in a specific block. I need a minimum of 100 rows from the table, and containing all the data from the block_no
. Like, if there are 95 rows to block_no
2 and around 20 on block_no
3, I need all 20 of block_no
3 as if I am fetching data in packets based on block_no
.
Is this possible and feasible?