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', 4000);
select name, salary from employees where salary in
(select salary from employees group by salary having count(salary) > 1);
To embed this program on your website, copy the following code and paste it into your website's HTML: