Eseguo un'istruzione INSERT INTO
cursor.execute("INSERT INTO mytable(height) VALUES(%s)",(height))
e voglio ottenere la chiave primaria.
La mia tabella ha 2 colonne:
id primary, auto increment
height this is the other column.
Come ottengo "id", dopo averlo appena inserito?