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

select * from emp where add_months(sysdate ,-2);

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a pl sql program?

1121


How to raise user-defined exception with custom sqlerrm ?

1121


Why partition by is used in sql?

1029


Differentiate between pl/sql and sql?

1140


Can 2 queries be executed simultaneously in a distributed database system?

1136


what is a composite primary key ? : Sql dba

1040


What is sql dialect?

1107


What is the difference between microsoft sql and mysql?

954


What does trigger mean in psychology?

958


Why functions are used in sql?

984


Define commit?

991


Enlist the characteristics of pl/sql?

1791


List the ways to get the count of records in a table?

900


Why do we need sharding?

982


What is procedure and function in sql?

990