2 votes 2 votes select state, companyname, count(*) from abovetable group by state, companyname../ yes asked Oct 2, 2015 yes 328 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Null will cause one group reords 1 10 11 12 will form one group Pooja Palod answered Oct 2, 2015 Pooja Palod comment Share Follow See all 2 Comments See all 2 2 Comments reply yes commented Oct 2, 2015 reply Follow Share i think all should be there in ans as null treated as different for each entry 0 votes 0 votes akash commented Oct 5, 2015 reply Follow Share @ pooja palod here count(*) will be 12 Or 4 ?according to me it is 12 0 votes 0 votes Please log in or register to add a comment.