title: Get tables list from SQL Server Database as a clean python list of strings
body: <p>I want the tables in SQL Server DB as a nice comma separated list.
  I have some code as below.</p>
  
  <pre><code>import pyodbc 
  cnxn = pyodbc.connect('Trusted_Connection=yes', 
                       driver = '{ODBC Driver 13 for SQL Server}',
                       server = 'XXXXXX\SQLSERVER', 
                       database = 'AdventureWorks2016CTP3')
  sql = "SELECT Distinct TABLE_NAME FROM information_schema.TABLES"
  
  cursor = cnxn.cursor()
  cursor.execute(sql)
  print(cursor.fetchall())
  </code></pre>
  
  <p>I want the list to be like </p>
  
  <blockquote>
    <p>['Address', 'AddressType',.....]</p>
  </blockquote>
  
  <p>instead of </p>
  
  <blockquote>
    <p>[('Address', ), ('AddressType', ), .....]</p>
  </blockquote>
  
  <p>How to get this done.</p>
  
  <p>Keerikkattu Chellappan</p>