title: 'builtin_function_or_method' object has no attribute 'execute' for cursor.ececute(statement)
body: <pre><code>c = sqlite3.connect(history_db)
  cursor = c.cursor
  
  select_statement = "SELECT urls.urls,urls.Visit_count FROM urls,Visits WHERE 
  urls.id=visits.urls;"
  cursor.execute(select_statement)
  
  results = c.cursor.fetchcall()
  
  print(results)
  </code></pre>
  
  <p>The code above when executed gives an error something like</p>
  
  <pre><code>Traceback (most recent call last):
  File "test.py", line 13, in &lt;module&gt;
  cursor.execute(select_statement)
  AttributeError: 'builtin_function_or_method' object has no attribute 
  'execute'
  </code></pre>
  
  <p>I am new to using python sqlite3 so how do I execute this query with sqlite3 in python?</p>