MySQL last function
MySQL last function is used to return the last value of the selected column.
MySQL last function example
Consider a table "officers" having the following data.
Execute the following query:
This query will return the last officer_name ordering by officer_id.
Return the last officer_name ordering by officer_name:
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week