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 do u find least salary in a table

Answers were Sorted based on User's Feedback



how do u find least salary in a table..

Answer / sreeja.t.pillai

SELECT MIN(EmpSal) Min_Salary FROM Employee_Details

Is This Answer Correct ?    14 Yes 1 No

how do u find least salary in a table..

Answer / kk

SELECT DISTINCT TOP 1 salary
FROM tblemp
ORDER BY salary ASC

Is This Answer Correct ?    2 Yes 1 No

how do u find least salary in a table..

Answer / saiteja

select ename,sal from emp
where sal=(select min(sal) from emp);

Is This Answer Correct ?    1 Yes 0 No

how do u find least salary in a table..

Answer / indraneelandhavarapu

SELECT MIN(SALARY) from EMPSAL

OR

SELECT MAX(SALARY) FROM
(SELECT DISTINCT TOP 1 SALARY
FROM EMPSAL ORDER BY SALARY) AS A;

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More SQL Server Interview Questions

What is BCNF? How is it better than 2NF & 3NF?

0 Answers   Essar,


Distinguish between nested subquery and correlated subquery?

0 Answers  


How to list all schemas in a database?

0 Answers  


What are the difference between “where” and “having” clause in sql server?

0 Answers  


Why do we partition data?

0 Answers  


What do you mean by an execution plan?

0 Answers  


how many bits ip address consist of? : Sql server database administration

0 Answers  


What is a field in a table?

0 Answers  


What are the new features in SQL Server 2005?

3 Answers   Emphasis,


How you can minimize the deadlock situation?

0 Answers  


Do you know what is difference between stored procedure and user defined function?

0 Answers  


Explain what are various ways to enhance the ssrs report?

0 Answers  


Categories