How to evaluate employee wages rise to 10% before the SQL statement
Two table
Postsalary:
Emp:
CodePudding user response:
select * from emp where exists
(select 1 from postsalary where postsalary. Empid=emp. The empid and postsalary. Pastsalary * 1.1=emp. The salary)
CodePudding user response: