I have the query and table below, how do I select the 1st line of each category of column TeamboardId?
SELECT * FROM Job WHERE HandLingTimeSeconds = '60'
JobId | TeamboardId |
---|---|
1 | 1 |
2 | 1 |
3 | 1 |
4 | 2 |
5 | 2 |
6 | 2 |
The expected result should be
JobId | TeamboardId |
---|---|
1 | 1 |
4 | 2 |