create table employees (
name varchar(30) not null,
salary int not null
);
insert into employees values
('Ram', 1000),
('Ankita', 4000),
('Ganesh', 3000),
('Yuvraj', 3000),
('Sailesh', 2000);
select name, salary from employees where salary in
(select distinct salary from employees order by salary desc limit 1 offset 1);
To embed this program on your website, copy the following code and paste it into your website's HTML: