J'exécute une instruction INSERT INTO
cursor.execute("INSERT INTO mytable(height) VALUES(%s)",(height))
et je veux obtenir la clé primaire.
Mon tableau comporte 2 colonnes:
id primary, auto increment
height this is the other column.
Comment puis-je obtenir l '"identifiant" après avoir inséré ceci?