WHILE Loop Insert
Medium
Procedural SQL
Write a stored procedure fill_numbers() that inserts the numbers 1 to 5 into the table Numbers using a WHILE loop.
Table schema
Numbers(n INT)Sample data
Call: CALL fill_numbers();
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.