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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what are different methods to trace the pl/sql code?

549


What is Collation Sensitivity ? What are the various type ?

493


How can we optimize a sql query?

569


What is denormalization in a database?

585


Is a foreign key always unique?

524






What are conditional predicates?

577


define sql insert statement ? : Sql dba

544


write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

536


Define the select into statement.

566


Can we rollback after truncate?

557


What is pl sql in dbms?

499


What is varray in pl sql?

559


How is indexing done in search engines?

525


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

568


Does normalization improve performance?

549