Generate Numbers 1 to 10
Medium
CTE & Recursive Queries
Without using any table, write a recursive CTE that returns the numbers 1 to 10, one per row, in a column named n.
Table schema
No tables are required.Sample data
(none)
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.