How to use MIN & MAX function in SQL Server ?

Leave a Comment
        Here I explain you how we can use MAX & MIN function in SQL. The MAX & MIN funcion returns largest & smallest value of specified column.

For explanation I consider a table with following records :
To find maximum value you use following statement :
 We produce following result:
 To find minimum value you use following statement :
 We produce following result:

0 comments:

Post a Comment