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...

Display Odd/ Even number of records?

Answer Posted / shareef

select * from emp where (rowid,0) in(select rowid,mod(rownum,2) from emp);---even


select * from emp where (rowid,1) in(select rowid,mod(rownum,2) from emp);---odd

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who developed oracle & when?

940


How to run create database statement?

973


How to create a stored program unit?

1113


What happens to the current transaction if the session is killed?

924


How to end the current transaction in oracle?

961


What is system global area (sga) in oracle?

925


What is Undo Management Advisor in Oracle?

1039


How to load a large xml file?

1001


Where do you use decode and case statements?

939


How to assign values to data fields in record variables?

972


How to write date and time interval literals in oracle?

966


How to export data with a field delimiter?

969


candidate key is subset of super key but not vice-verse explain

2014


What is the max number of columns in an oracle table?

928


How to get last row id?

937