id | value ---------- 4 | 100 4 | 200 4 | 300 7 | 100 10| 100 4 | 400 10| 200 7 | 200 7 | 300 8 | 100 10| 300
id | value ---------- 4 | 100 4 | 200 4 | 300 4 | 400 7 | 100 7 | 200 7 | 300 8 | 100 10| 100 10| 200 10| 300
SELECT Id, Value FROM MyTable ORDER BY Id ASC, Value ASC
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)