Categories
How to display the last value from a database table?
There is a table it has Id it is called VID. It is necessary to display the last value of id, tell me how this can be done. The table is called video id is called VID
Answer the question
In order to leave comments, you need to log in
SELECT `VID` FROM `video` ORDER BY `VID` DESC LIMIT 1
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question