Loops allow stored programs to execute statements repetitively. The MySQL stored program language offers three types of loops:
- Simple loops using the LOOP and END LOOP clauses
- Loops that continue while a condition is true, using the WHILE and END WHILE clauses
- Loops that continue until a condition is true, using the REPEAT and UNTIL clauses
With all three loop types, you terminate execution of the loop with the LEAVE statement.
Is there some kind of explanation as to why we don't need the definite article the coming after all but before three loop types? I think I have encountered this particular grammar structure before but at the time no one seemed to know the answer (but that was on the Yahoo question-answer service).
Yet another thing that bothers me here is why is there no the in front of execution? Like, you terminate THE execution of the loop with the LEAVE statement. Any thoughts?
Thank you.