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

What is a constraint?

1011


Can you inner join the same table?

988


Explain the advantages and disadvantages of stored procedure?

1138


What are the syntax and use of the coalesce function?

1190


What is java sql driver?

1106


What are pl/sql cursor exceptions?

1092


What is secondary key?

927


The select into statement is most often used to create backup copies of tables or for archiving records?

1062


Which query operators in sql is used for pattern matching?

953


what is the difference between rownum pseudo column and row_number() function? : Sql dba

1067


How much does a sql dba make? : SQL DBA

935


Why is there a need for sqlcode and sqlerrm variables?

1040


Can we call stored procedure in function?

952


how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

966


How do I tune a sql query?

967