title: How do I make an SOQL Query with Spaces in Column Names?
body: <p>I'm trying to make an SOQL query using the <code>simple_salesforce</code> python package. I'm having a bit of trouble querying columns which have spaces in the column names:</p>
  
  <pre><code>sf.query_all("SELECT Id, Name, Email FROM Lead WHERE `Lead Source`=Calculator (Website)")
  </code></pre>
  
  <p>I'm trying to use the conventional SQL syntax of dealing with pesky column names (I have also tried <code>[]</code> brackets) but I keep getting a <code>SalesforceMalformedRequest</code>. </p>
  
  <p>I want to get a python dict which contains the IDs, Names and Emails of any leads that have a lead source of 'Calculator (Website)'. </p>
  
  <p>I don't have privileges to change the column names, so any help on how to query, or how to access the column names in some other way, would be a lot of help! </p>