Hi Programmers
Please Help Me
how to update last record in table with id by create stored procedures like fields below :
StartMileage
EndMileage
TotalMileage
FuelLitres with last insert recod with ID
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nitin SontakkeRank #264 · 9.6K reputationPosted Feb 13, 2017, 9:11 PM EST
Nilesh ShahRank #42 · 34.2K reputationPosted Feb 13, 2017, 3:32 AM EST
ali tuncerRank #1,498 · 1.1K reputationPosted Feb 13, 2017, 6:36 PM EST
SELECT MAX(Id) AS LastID
FROM TABLENAME
will return last id
Abdalla ElawadRank #1,443 · 1.1K reputationPosted Feb 15, 2017, 3:03 AM EST
Hi Nitin Sontakke
Nitin SontakkeRank #264 · 9.6K reputationPosted Feb 15, 2017, 3:05 AM EST
Abdalla ElawadRank #1,443 · 1.1K reputationPosted Feb 15, 2017, 3:22 AM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Feb 15, 2017, 5:26 PM EST
Abdalla ElawadRank #1,443 · 1.1K reputationPosted Feb 15, 2017, 7:51 PM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Feb 15, 2017, 7:53 PM EST
Abdalla ElawadRank #1,443 · 1.1K reputationPosted Feb 15, 2017, 8:17 PM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Feb 15, 2017, 8:36 PM EST