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 / suneel
select * from af where months_between(sysdate,hiredate)<=2
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
what is bcp? When does it used? : Sql dba
Can sql function call stored procedure?
Can we rename a column in the output of sql query?
Explain the difference between rename and alias?
What is the difference between distinct and unique in sql?
Can we use views in stored procedure?
Is hadoop a nosql?
How do I start pl sql?
What is the primary use of normalization?
How to test for null values?
What is posting?
What is the use of desc in sql?
What is database sql?
Define tables and fields in a database
What is lexical units in pl sql?