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

How much does sql cost?

986


How do I add a primary key to a table?

1038


What is a primary key sql?

1039


What is data modelling in sql?

1009


how to drop an existing index in mysql? : Sql dba

1059


How do you determine the current isolation level? : Transact sql

1146


What is the difference among union, minus and intersect?

989


What is self-join and what is the requirement of self-join?

1143


Which operator is used in query for pattern matching?

1081


How to add a column ‘salary’ to a table employee_details?

1002


How to connect a sql*plus session to an oracle server?

1118


What are the different sql commands?

1061


What are sql injection vulnerabilities?

976


What is the difference between cluster and non-cluster index?

1101


Why do we use procedures in pl sql?

1023