I have a question in SQL, what I want is that the code pulls the last information from this column and compares with a label on my site, but I do not know if the Last Insert Id is better or correct to use. >
SELECT Km_Atual FROM Rota WHERE Km_Atual as LAST_INSERT_ID(Km_Atual)