Pregunta de entrevista de Enform

How would you create a loop using SQL?