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 Max  
HomeSQL Max  
The SQL MAX aggregate function allows us to select the highest (maximum) value for a certain column.  

The SQL MAX aggregate function allows us to select the highest (maximum) value for a certain column.

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


SELECT MAX(Column1)
FROM Table1

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


SELECT MAX(DOB) AS MaxDOB
FROM Customers
 
 
 
 
HomeSQL Max Top  
 
Hosted By Speed Layer
© 2009 SQL Evi