An employee table, with the columns id, name, sal and
dob.Query to select emp names of all highest salaries(there
are 4-5 people having the same salary which happens to be
the highest).

Answer Posted / n@n!

emp table= emp;
column id =column_id;
name = name;
sal= sal;
dob= dob;


select top 1 name,sal,column_id,dob from emp order by sal
desc

while u run this query only one row was effected which
shows employee taken highest salary along with details like
column id,dob,name,sal.

if u want 5 employees list then replace top 1 by top 5



plz let me know if it was wrong (along with ur
query)...................

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Any one send me sample question for multimedia testing with microsoft access database. I am having interview next week. Please post it or send me my personal e-mail. Thank You

1671


please give information about ERP Projects and how V-model use in project

2484


What is AGP?what is setup.inf?What are the ways to install driver?

1883


What if the project isn’t big enough to justify extensive testing?

882


Our software designers use UML for modeling applications. Based on their use cases, we would like to plan a test strategy. Do you agree with this approach or would this mean more effort for the testers.

1735






what is the main field of bugzilla which we fill to report bug to any developers???give some brief description??

1697


Please anyone give answers for all below questions and help ? realtimers please and please share your knowledge.lot of questions left unanswered.

1579


What type of questions will be asking for 2 years experience candidate in manual testing?

1905


what are the test bugs

1583


What is mean by incident logging system ?

2128


Define performance and stress testing?

812


What is Independent Testing?

1679


diff b/w desktop based testing & web application testing

1685


What is quality center?

760


What are the bugs we cannot find in black box?

795