After inserting the data, you often need to fetch the id of the inserted data.