How to get Last record in MySQL?

 Posted by vishalneeraj-24503 on 11/27/2013 | Category: Sql Server Interview questions | Views: 1809 | Points: 40

By using Limit clause in MySQL,we can the Last record.

For ex:-

Select employee_id from employee_master order by employee_id desc limit 1;

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response