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


how to get the third quarter of employee details from emp?

Answers were Sorted based on User's Feedback



how to get the third quarter of employee details from emp?..

Answer / eshwer

select * from emp where TO_CHAR(hiredate,'Q')=3;

'Q' Regrives the all the 4 quarters(1,2,3,4) details on
that we retrive the 3 quarter details

Please check it

Is This Answer Correct ?    4 Yes 0 No

how to get the third quarter of employee details from emp?..

Answer / rupesh kumar

select * from emp where rownum<=(select round((count(*)/4)
*3) from emp)
minus
select * from emp where rownum<=(select round((count(*)/4)
*2) from emp)

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More SQL PLSQL Interview Questions

What is the use of sqlerrd 3?

0 Answers  


How to change the order of columns in Oracle SQL Plus ?

0 Answers   MCN Solutions,


Are dml statements autocommit?

0 Answers  


How many tables can a sql database have?

0 Answers  


What is a REF CURSOR? Compare strong and week ref cursor types.

6 Answers  


what is csv? : Sql dba

0 Answers  


What are the two types of cursors in pl sql?

0 Answers  


Write a query to get last 10 records from the table.

12 Answers   iNautix,


how can i read write files from pl/sql

3 Answers  


What are the different types of PL/SQL program units that can be defined and stored in ORACLE database ?

2 Answers  


What is linq to sql?

0 Answers  


How to read/write files from pl/sql?

0 Answers  


Categories