ell">
    <div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="n">format_sql</span><span class="p">(</span><span class="s2">&quot;&quot;&quot;</span>
<span class="s2">select field1, field2 from (select field1, </span>
<span class="s2">field2 from (select field1, field2, </span>
<span class="s2">field3 from table1 where a=1 and b&gt;=100))</span>
<span class="s2">&quot;&quot;&quot;</span><span class="p">))</span>
</pr