SQL Evi  
Tuesday, September 07, 2010
 
Aga Download, Aga Msn, Aga Oyun, Garavel, ASP Rehberi, ASP Indir, Bekir Topuz, Erinç Kuzu, Kartuş Marketi, SQL Evi - House
 
SQL Min  
HomeSQL Min  
The SQL MIN aggregate function allows us to select the lowest (minimum) value for a certain column.  

The SQL MIN aggregate function allows us to select the lowest (minimum) value for a certain column.

The SQL MIN function syntax is very simple and it looks like this:


SELECT MIN(Column1)
FROM Table1

If we use the Customers table from our previous chapters, we can select the lowest date of birth with the following SQL MIN expression:


SELECT MIN(DOB) AS MinDOB
FROM Customers

 
 
 
 
HomeSQL Min Top  
 
Hosted By Speed Layer
© 2009 SQL Evi