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

select top 3 sal from each dept?

Answer Posted / keshav

with Q as (select *,dense_rank() over(partition by dept
order by sal) as dr from dept
select * from Q
where dr=3

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does sql need a server?

1083


How do you create a db file?

1066


What is sqlca in db2?

1032


Where are my tempfiles, I don't see them in v$datafile or dba_data_file?

1051


What is on delete set null?

1135


explain primary keys and auto increment fields in mysql : sql dba

1015


What is coalesce sql?

1050


what is a join? : Sql dba

1083


What is a column in a table?

1184


Can we use views in stored procedure?

1083


How can a pl sql block be executed?

1000


Is it possible to link two groups inside a cross products after the cross products group has been created?

1067


How do I add a database to sql?

1181


describe transaction-safe table types in mysql : sql dba

1052


How long it takes to learn pl sql?

1064