title: Cannot access data from database using specific id
body: <pre><code>import pymysql
  import os
  
  conn =pymysql.connect(host='localhost',database='pyp',user='root',password='')
  a = conn.cursor()
  h= raw_input('enter your id')
  sql='SELECT * from report WHERE Id = h'
  a.execute(sql)
  data=a.fetchall()
  
  print(data)
  conn.close()
  </code></pre>