This question comes across as a straight forward question but can prove lethal to gauge the turnaround time. It also checks the ability of the person to reach the destination when virtually all the doors are closed.
Well the complete question is
" How to generate values from 1 to 1000 without using WHILE loop and Cursor ? and Using single SELECT or block of code"
The question became interesting with the last part because most of us would have thought about using loop/cursor but that is forbidden.. and we also have to use single SELECT or block of code ..
Okay.. What does that mean ? Is it some kind of a clue to answer this question ?
Well the complete question is
" How to generate values from 1 to 1000 without using WHILE loop and Cursor ? and Using single SELECT or block of code"
The question became interesting with the last part because most of us would have thought about using loop/cursor but that is forbidden.. and we also have to use single SELECT or block of code ..
Okay.. What does that mean ? Is it some kind of a clue to answer this question ?