title: SQL query to update all subpages of a specific uid in TYPO3
body: <p>I'm looking to find an SQL query to update my TYPO3 table (pages) to add a specific fe_group for all pages under a specific uid in the page tree.</p>
  
  <p>Example: <code>UPDATE pages SET fe_group = 16 WHERE pid = 84;</code></p>
  
  <p>This will add my fe_group to all pages under my specific uid in the page tree but only for the first level under. I need to reach the infinite levels.</p>
  
  <p>TYPO3 v6.2 and above
  Thanks!</p>