4
Answers

SQL Query Solution

balaji palani

balaji palani

8y
395
1
I have one table with rows(1 to 5) and need a output like below
Table:
║no ║Years ║
╠══╬════║
║ 1  ║ 2001 ║
║ 2  ║ 2002 ║
║ 3  ║ 2003 ║
║ 4  ║ 2004 ║
Output :
║no ║Years║
╠══╬════
║ 1  ║ 2001 ║
║ 2  ║ 2002 ║
║ 3  ║ 2003 ║
║ 4  ║ 2004 ║
║ 4  ║ 2004 ║
║ 3  ║ 2003 ║
║ 2  ║ 2002 ║
║ 1  ║ 2001 ║
 
Answers (4)