Answer the question
In order to leave comments, you need to log in
What is wrong with sql query?
cur.execute('SELECT ? FROM ?', [column_name, table_name,])
for element in cur.fetchall():
result.append(element[0])
return result
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question