Link to home
Start Free TrialLog in
Avatar of johnkainn
johnkainn

asked on

Group by - 2

I have this table
Id    AId   BId  
1     1       1
2     1       1
3     1       2
4     1       2
5     2       1
6     2       2
From this table I would like to group by 1) AId   2) BId
So that I would get returned:
AId    BId
1        1
1         2
2         1
2         2
How can I do this?    
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial