Hello everyone, I have the following code:
c.execute("SELECT id FROM test_table WHERE name = (?) ", (first_name,)) data_2 = c.fetchall() c.execute("INSERT INTO wo_table(wo_name) VALUES(?)", (data_2,)) conn.commit() The problem is that I constantly get an error:
Error binding parameter 0 - probably unsupported type.
I want to get the person's id under this name, and transfer it to another table that expects this id.
print(type(first_name))that prints? - gil9red