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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you go back in sql?

526


- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

1378


Write a sql query to find the names of employees that begin with ‘a’?

568


What are the different datatypes available in PL/SQL?

560


What is the largest value that can be stored in a byte data field?

516






Explain unique key in sql.

554


Can a key be both primary and foreign?

504


what are the advantages and disadvantages of cascading style sheets? : Sql dba

544


What is sql in oracle?

616


What is a .db file?

531


What is numeric function sql?

533


What is trigger explain it?

543


How does postgresql compare to oracle/db2/ms sql server/informix?

553


How to order siblings in oracle hierarchy queries?

593


What are the advantages of stored procedure?

533