Tuesday, 4 October 2016

Frequently asked SQL Queries

1. Select the second largest salary from the employee table.

> select max(salary) from employee
 where salary <  (select max(salary) from employee);


No comments:

Post a Comment