i have a table 'X' in my sql server which has [b]name[/b] and [b]status[/b] fields and I need to generate a report from that query in which i need to display likeName, count(Status1),Count(status2) here i need to group by name and count the number of status [b]status1 is where Status =1[/b] and [b]Status2 is where Status =2[/b] in the table 'X'How can i display Status1 and Status2 in the same report?Plese suggestThanks in AdvanceVen
↧