日期:2014-05-17 浏览次数:20672 次
CREATE TABLE [dbo].[ZHOU]( [A] [int] NULL, [B] [int] NULL ) INSERT INTO ZHOU SELECT 1,0 UNION SELECT 0,3 UNION SELECT 5,0 UNION SELECT 0,2
SELECT * FROM zhou ORDER BY A+B ASC /* A B 1 0 0 2 0 3 5 0*/