Catch 1select count(SongId) from chartsquery where (genre='Dance') and (subgenre='All') RowsCount=0Catch 1Bselect count(SongId) from chartsquery where (genre='Dance') RowsCount=0