SELECT TOP 1
hol_id ,
CONVERT(VARCHAR(12), hol_date, 112)
FROM holiday
WHERE hol_id = 5
UNION ALL
SELECT hol_id ,
CONVERT(VARCHAR(12), hol_date, 112)
FROM holiday
WHERE hol_id <> 5
ORDER BY CONVERT(VARCHAR(12), hol_date, 112) DESC
そうですか
1 20131218
5 20131018
6 20130818
3 20130405
4 20130311
2 20121129
見たい
5 20131018
1 20131218
6 20130818
3 20130405
4 20130311
2 20121129