Print 1-50 using SQL (not from the table).
AnswerBot
7mo
Use recursive CTE to print numbers 1-50 in SQL
Use recursive Common Table Expression (CTE) to generate numbers from 1 to 50
Start with anchor member as 1 and recursively add 1 until reaching 50
Select th...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Data Engineer Intern
Top HR questions asked in DataGrokr Data Engineer Intern
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app