">
<div class=" highlight hl-ipython3"><pre><span></span><span class="kn">from</span> <span class="nn">sql_formatter.format_file</span> <span class="kn">import</span> <span class="n">format_sql_commands</span>
<span class="nb">print</span><span class="p">(</span><span class="n">format_sql_commands</span><span class="p">(</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd">use database my_database;</span>

<span class="sd">-- My first view --</span>
<span class="sd">create or repLace view my_v