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

Is ms sql is free?

1010


What is the most restrictive isolation level? : Transact sql

1072


How much ram can sql express use?

967


How do you take the union of two tables in sql?

972


How do you copy a table in sql?

1049


Explain what is table in a database?

1048


Define tables and fields in a database

1114


How do I run a sql script?

1122


write an sql query to find names of employee start with 'a'? : Sql dba

1016


What is procedure and function?

961


What is primary key and unique key?

1101


what is the use of double ampersand (&&) in sql queries?

1159


What are the advantages of pl sql over sql?

1014


Does a user_objects view have an entry for a trigger?

1002


What is graph sql?

976