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
List the ways to get the count of records in a table?
Can a table contain multiple primary key’s?
What do you understand by pl/sql cursors?
What is a sql trace file?
What is aggregate function in sql?
How do I start pl sql?
What jobs use sql?
What are aggregate functions in sql?
What is ttitle and btitle?
What is sql exception?
Is oracle and sql same?
Which is faster joins or subqueries?
What is pl sql block in dbms?
What are the benefits of stored procedures?
Is natural join same as inner join?