What is the difference between join and union.

Answer Posted / krish

how to fine top 3 emp(sal) from each deptno
i want the out put like this
sal deptno
100 20
200 20
300 20
150 30
250 30
350 30
so top 3 from each dept
thank u

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why select is used in sql?

514


What is sqlerrm?

542


Why do we use function in pl sql?

553


What is nvarchar max in sql?

578


What is a unique constraint?

606






Explain the difference between cursor declared in procedures and cursors declared in the package specification?

575


how to drop an existing index in mysql? : Sql dba

533


What is database migration?

517


What does seeding a database mean?

525


Write the alter statement to enable all the triggers on the t.students table.

665


Should I use mbr or gpt?

541


what are properties of a transaction? : Sql dba

559


Define the select into statement.

568


What are local and global Indexes and where they are useful.

924


How to select unique records from a table?

567