CREATE TABLE #yt ([Store] int) ; INSERT INTO #yt ([Store])

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla Meta

Q&A about the site for Joomla! administrators, users, developers and designers

CREATE TABLE #yt
    ([Store] int)
;
    
INSERT INTO #yt
    ([Store])
VALUES
    (102),
    (101)
;

SELECT Store FROM (
  SELECT
    ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) AS rownumber,
    Store
  FROM #yt
) AS foo
WHERE rownumber =2

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results