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 and explain the different types of join clauses supported in ansi-standard sql?
What is the current version of postgresql?
What is duration in sql profiler trace?
what is sql? : Sql dba
Can we use the cursor's to create the collection in PL/SQL?
Is t sql a programming language?
How do you remove duplicates without using distinct in sql?
How do I access sql anywhere database?
What are the basic techniques of indexing?
Why do we need cursors in pl sql?
How do I trace sql profiler?
Does sql profiler affect performance?
What sql database should I use?
What is loop in pl sql?
What are the types of optimization?