title: Django raw sql format tablename
body: <p>I am trying to interpolate the tablename into a raw sql but it's interpolating a badly formatted string so the SQL query fails. I can't find a proper way of interpolating the string into the SQL query properyly:</p>
  
  <pre><code>from django.db import connection
  cursor = connection.cursor()
  cursor.execute("SELECT * from %s;", ['product'])
  </code></pre>
  
  <p>Throws:</p>
  
  <pre><code>django.db.utils.ProgrammingError: syntax error at or near "'product'"
  LINE 1: SELECT * from 'product';
  </code></pre>