. . . . . #### select count(*) from tbl where ques1 = ans1...some complex query...