SQL SELECT * FROM `sections` WHERE `topsectionid` = '40' AND `2ndsectionid` = '25' AND `3rdsectionid` > '0' AND `showonweb` = 'Yes' ORDER BY `topsectionid`,`2ndsectionid`,`3rdsectionid`

Profession Prints from ShonaD