company_id entry box inserts data to my mysql database but it is not auto incremented, how can I turn it into auto increment?
query = "INSERT INTO basic_data(company_id, lastname, firstname, middlename) VALUES(%s, %s, %s, %s)"
cursor.execute(query, (t1.get(), t2.get(), t3.get(), t4.get()))