This data is for demonstrating different methods of writing Top n functions in ANSI standard SQL.
CREATE TABLE Employees (Name VARCHAR(10), Salary INT)
INSERT INTO Employees (Name, Salary)
VALUES ('Alex', 4500)
INSERT INTO Employees (Name, Salary)
VALUES ('Bob', 5000)
INSERT INTO Employees (Name, Salary)
VALUES ('Cheri', 5000)
INSERT INTO Employees (Name, Salary)
VALUES ('Doug', 4500)
INSERT INTO Employees (Name, Salary)
VALUES ('Evan', 3000)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.