HI,
I have a problem to make SQL query which describe below
Problem
Table : TbData
I want output like this :
How to make query for this ?
I have to solve this problem very urgent so please if u hav any idea regarding this then guide me
thanks in advance
I have a problem to make SQL query which describe below
Problem
Table : TbData
AutoID | ID1 | ID2 | Status
1 10 1 1
1 10 1 1
2 10 2 0
3 11 1 1
3 11 1 1
411 2 1
I want output like this :
ID1 | Count(Status(1) ) | Count(Status(0) )
10 | 1| 1
10 | 1| 1
11| 2 | 0
How to make query for this ?
I have to solve this problem very urgent so please if u hav any idea regarding this then guide me
thanks in advance
Comment