Tuesday, 22 September 2009

Explain MIN function in SQL Server.

The MIN function is used to select the lowest value in a particular column.
Ex :
Select min(Employeeage) as MinimumAgedEmployee from Employees
This Query will display the lowest age of the employee from “EmployeeAge” column, the output will be displayed with the column name “MinimumAgedEmployee”.

Labels:


Bookmark this Blog in your Favorites