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

Join_date is the column in Emp table.

select * from emp
where join_date between sysdate and sysdate - 60

Is This Answer Correct ?    2 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a key be both primary and foreign?

1053


What is a heap in sql?

1138


what is denormalization. : Sql dba

1159


What is a clob in sql?

1063


What is sql data?

1032


What is sql trigger example?

1113


What is rownum in sql?

1091


What are tables and fields in the database?

1184


What do you understand by pl/sql cursors?

1148


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

1191


How to use sql*plus built-in timers?

1257


Show the cursor attributes of pl/sql.

1099


how tsql statements can be written and submitted to the database engine? : Transact sql

1034


Are stored procedures faster than dynamic sql?

1104


How do you bind variables in pl sql?

1156