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

Select rownum,empno,ename,salary from emp group by rownum,empno,ename,salary having Mod(rownum,2)=0 -- To display EVEN records.

Select rownum,empno,ename,salary from emp group by rownum,empno,ename,salary having Mod(rownum,2)=1 -- To display ODD records.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tns service name?

1133


What is oracle and what are its different editions?

1073


Explain cascading triggers.

1082


Explain the use of grant option in imp command.

1034


Explain the use of inctype option in exp command.

1038


What is an oracle?

1024


What is a dead lock in oracle?

1134


What are the different types of trigger and explain its various uses and functions?

1101


How do we get field details of a table?

983


What is set operator oracle?

990


What is the difference between post-database commit and post-form commit?

1208


What is oracle host variable?

1070


How to define a data source name (dsn) in odbc manager?

1040


Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..

2107


What is meant by joins?

1068