MySQL 9.0 Release Notes
        
                                    PDF (US Ltr)
            - 40.0Mb
PDF (A4) - 40.1Mb
Man Pages (TGZ) - 259.0Kb
Man Pages (Zip) - 366.2Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
                                
    PDF (A4) - 40.1Mb
Man Pages (TGZ) - 259.0Kb
Man Pages (Zip) - 366.2Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
            MySQL 9.0 Reference Manual  / 
                            ...  / 
                
                                                        Tutorial  / 
                                                            Examples of Common Queries  / 
                                                                                        
                                        The Maximum Value for a Column
                                    
        
        “What is the highest item number?”
SELECT MAX(article) AS article FROM shop;
+---------+
| article |
+---------+
|       4 |
+---------+
             
    Related Documentation
    
        
            Download
                            this Manual
                    
    
    
        
         
     
                                    PDF (US Ltr)
            - 40.0Mb
PDF (A4) - 40.1Mb
Man Pages (TGZ) - 259.0Kb
Man Pages (Zip) - 366.2Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
                                
    PDF (A4) - 40.1Mb
Man Pages (TGZ) - 259.0Kb
Man Pages (Zip) - 366.2Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb