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
what is the functionality of the function htmlentities? : Sql dba
What is sql and db2?
What is compute?
what is foreign key? : Sql dba
What is the difference between a database and a relational database?
Does truncate remove indexes?
what is heap table? : Sql dba
What is an inner join sql?
What is the difference between mdf and ndf files?
What is the life of an sql statement?
Can %notfound return null after a fetch?
How can triggers be used for the table auditing?
Explain the structure of pl/sql in brief.
What will you get by the cursor attribute sql%found?
What is the primary use of normalization?