DECLARE @tbl TABLE ( id int, [Rank] int ) INSERT INTO @t...

0

Please login or register to vote for this query.

(click on this box to dismiss)

English

Q&A for linguists, etymologists, and serious English language enthusiasts

DECLARE @tbl TABLE
(
id int,
[Rank] int
)

INSERT INTO @tbl VALUES(1, 1)
INSERT INTO @tbl VALUES(1, 2)
INSERT INTO @tbl VALUES(2, 3)
INSERT INTO @tbl VALUES(2, 4)
INSERT INTO @tbl VALUES(2, 5)
INSERT INTO @tbl VALUES(3, 6)
INSERT INTO @tbl VALUES(1, 7)


  
SELECT * from @tbl

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results