Select from following answers:- select employee_id as last_id from employee_master where employee_id = (select max(employee_id) from employee_master);
- select employee_id as last_id from employee_master where employee_id = all (select max(employee_id) from employee_master);
- select max(employee_id) as last_id from employee_master;
- select top 1 employee_id as last_id from employee_master order by employee_id desc;
- All Above
Above all query will give us last record from employee_master.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator