Report question

Question: Is it conceptually right to do a SELECT MAX(id) etc. for finding the last inserted row?