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 / avi007

select * from employee where (sysdate-hiredate) <=60

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What pl/sql package consists of?

733


What is a relationship and what are they?

681


What is not null in sql?

668


Is id a reserved word in sql?

760


What are the different tcl commands in sql?

706






What is range partitioning?

605


What is the main difference between sql and pl/sql?

647


when MSQL8.0 is in market

1680


what are null values? : Sql dba

626


Explain select statements in sql?

685


How show all rows in sql?

701


Mention what does plv msg allows you to do?

764


How do you define a foreign key?

624


How do you delete duplicates in sql query using rowid?

634


what is sql server agent? : Sql dba

686