title: Condional looping in mysql
body: <p>Inside MySQL I have written a Procedure where I want to run a loop like this:</p>
  
  <pre><code>While (Cond) Do
    ...(Body1)
    ...
    If (Condition2)
      continue ;
  
    ...(Body2)
    ...
  end while ;
  </code></pre>
  
  <p>Under the while loop I want the <strong>full</strong> body to run in case where Condition2 is not met (ie Body1 and Body2).</p>
  
  <p>Currently, when Condition 2 is met, it just executes Body1 and then continues(Check Cond in While and Continue looping.)</p>
  
  <p>Can someone help with the proper syntax to perform the above?</p>