ContentDetails Table has below contentTypes. contentType -- live , vod , movie.
Each contentType has 100 reocrds (live -100,vod-100,movie - 100) .
I want multiple records from each contentType.
Query :
SELECT * FROM (SELECT * FROM `ContentDetails ` ORDER BY `contentid ` ASC ) AS a GROUP BY `contentType` limit 0,100;
After exceuting aove query getting below results .
only one live , one vod and one movie comes.
But my requirement is:
10 live contents , 10 vod contents and 10 movie contens.