SELECT *
FROM Employees
ORDER BY CASE id
WHEN id <1600 THEN 1
WHEN id <1700 THEN 2
WHEN id <2000 THEN 3
END, lastname;
FROM Employees
ORDER BY CASE id
WHEN id <1600 THEN 1
WHEN id <1700 THEN 2
WHEN id <2000 THEN 3
END, lastname;
sukai