title: How to run multiple line sql query using PySpark?
body: <pre><code>spark.sql(&quot;Select acts.accountname, acts.county_state,loc.Town, acts.country from assure_crm_accounts acts inner join assure_crm_accountlocation loc on acts.GPAddressCode = loc.GPAddressCode&quot;).show(30, False)
  </code></pre>
  <p>I run into error when I use multiple line query using PySpark, is there a way to run multiple line queries using a single command?</p>