title: SQL foreach loop
body: <p>I'm very new at SQL scripts and couldn't figure out how to make a specific for each loop. I need to do something like this:</p>
  
  <p>I have <code>Sites</code> and <code>SiteCrawls</code> tables. </p>
  
  <p>Basically, for every site I need to create a new <code>SiteCrawl</code> and that <code>SiteCrawl</code>'s <code>Site_ID</code> column will equal to that site's ID.</p>
  
  <p>How can I do this?</p>