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

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

What are the different levels of manual testing?

1208


What's the relationship between environment reality and test phases?

1487


What r the domain for pharma, interview if they ask about phrma application, what need to tell, is there anybody have screens or any information please tell me and if have URL let me know please.

4442


tell me brief about your project? please help me how to explain the project what is the flow? my current project is ERP domain web based application. please help me

2039


How do you estimate white box testing?

1134


What is Windows Test Technologies? Where i will get all information of it.

3997


Tell me a critical defect in which your Client,PM,PL appreciate on you

2143


. Is any graph is used for code coverage analysis?

2627


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

1963


What does 100% statement coverage mean?

2285


Tell some examples of bug severity and bug priority?

1095


What is the negative testing and example

1605


What is quality center? What are the modules of quality center?

1106


Explain the advantages of automation over manual testing?

1171


Can you explain an application boundary?

1112