18 Apr 2017 by CHill60
For want of more information, try this SELECT year, month, count(*) FROM yourTable WHERE month IN (1,3,5,7,9,11) GROUP BY year, month If you want to list the actual records then do this instead: SELECT karno, year, month FROM yourTable WHERE month IN (1,3,5,7,9,11) ORDER BY month, karno