I want to display the employees who have joined in last two
months. (It should be executed randomly means If I execute
the query in March it should display Jan and Feb joined
employees. Same query if i execute in Feb, 2007 it should
display dec, 2006 and jan 2007 joined employees.
Answer Posted / xyz
select * from emp where add_months(sysdate ,-2);
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
Does sqlite need a server?
What is the difference between subquery and correlated query?
Why do we use joins in sql?
What is partition by in sql?
what is 'mysqlshow'? : Sql dba
What are sql*plus environment variables?
What is a dirty read sql?
What is primary key sql?
Can we insert data into materialized view?
What is trigger explain with example?
What is not equal in sql?
Is a secondary key the same as a foreign key?
What is triggering circuit?
What is the purpose of normalization?
Why do we use joins?