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
What are the ddl commands?
How do you take the union of two tables in sql?
how to calculate expressions with sql statements? : Sql dba
what are the types of join and explain each? : Sql dba
What is multiple columns?
what are the differences between binary and varbinary? : Sql dba
what is the stuff function and how does it differ from the replace function? : Sql dba
How to run sql statements through the web interface?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc
Why do we use cursors?
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
How do I debug a stored procedure?
define sql update statement ? : Sql dba
Can delete statement be rollbacked?