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?

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

What are the ddl commands?

1006


How do you take the union of two tables in sql?

982


how to calculate expressions with sql statements? : Sql dba

1032


what are the types of join and explain each? : Sql dba

1037


What is multiple columns?

1064


what are the differences between binary and varbinary? : Sql dba

1038


what is the stuff function and how does it differ from the replace function? : Sql dba

1043


How to run sql statements through the web interface?

1039


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

4013


Why do we use cursors?

984


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

999


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

1032


How do I debug a stored procedure?

1110


define sql update statement ? : Sql dba

1114


Can delete statement be rollbacked?

984