怎么在SQL Server 7.0里排序?
CREATE TABLE Supplier (
SupplierID smallint NOT NULL,
SupplierName char(25) NOT NULL,
CONSTRAINT PKSID PRIMARY KEY (SupplierID),
CONSTRAINT UKSN UNIQUE (SupplierName),
);
ORDERBY SupplierID;
INSERT INTO Supplier(SupplierID,SupplierName) VALUES
(1,'IBM');
INSERT INTO Supplier(SupplierID,SupplierName) VALUES
(2,'Microsoft');
INSERT INTO Supplier(SupplierID,SupplierName) VALUES
(3,'Oracle');
INSERT INTO Supplier(SupplierID,SupplierName) VALUES
(4,'Informix');
我想要输出结果是
1 IBM
2 Microsoft
3 Oracle
4 Informix
但是现在他输出
1 IBM
4 Informix
2 Microsoft
3 Oracle
我用Order By他说有错,不知道怎么排序?