hi guys just wanted to ask how to raise the pay of a worker in sql statement. By the way this is in oracle 10g. dfdsfsdfsd I uploaded the instructions for your reference, thank you for those who will help out.

What do you have so far?

I attempted the first condition the "Hired before January 1, 1990 -->15%", but I do not know how to do the before January 1, 1990 condition. heres my code

select count(hire_date) "employees hired"
from employees 
where hire_date = before('1-jan-90');

error message: RA-00904: "BEFORE": invalid identifier

I've already done it:

select count(employee_id) 
from employees 
where hire_date < '01-jan-90';

This is not the solution for what you are looking for.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.