You have wrong syntx in your execute
method.
For example:
cur.execute("SELECT Name, Price FROM Cars WHERE Id=:Id", {"Id": uId})
c.execute("SELECT * FROM accounts WHERE approved=:approved", {"approved":'false'})
//with or without the single quite to false.
rows = c.fetchall()
for row in rows:
print (row) //check all list of returned results
or
c.execute("SELECT * FROM accounts WHERE approved = 'False'")
c.execute("SELECT * FROM accounts WHERE approved = 'false'")
c.execute("SELECT * FROM accounts WHERE approved = '0'")