Added executeInsert, which gets the ID of the most recently inserted row