Enform Interview Question

How would you create a loop using SQL?