Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How is a PL/SQL code compiled?

1170


What is pessimistic concurrency control? : Transact sql

1023


How do I create a memory optimized filegroup?

903


Which one is better sql or oracle?

899


What does trigger mean in psychology?

912


Can we insert data into materialized view?

896


What are all the different normalization?

976


Is vs as in pl sql?

932


What is restrict in sql?

1030


what is normalization? : Sql dba

1014


How can you create an empty table from an existing table?

1009


What is normalisation and its types?

954


what is the stuff function and how does it differ from the replace function? : Sql dba

988


what are the advantages and disadvantages of views in a database? : Sql dba

993


Explain what is an index?

995