I have a Db from where I have to display all the columns which match the substring of the column given by user. The following code works:
c.execute("select *