MySQL 8.4 Release Notes
        
                                    PDF (US Ltr)
            - 40.2Mb
PDF (A4) - 40.3Mb
Man Pages (TGZ) - 262.1Kb
Man Pages (Zip) - 367.7Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
                                
    PDF (A4) - 40.3Mb
Man Pages (TGZ) - 262.1Kb
Man Pages (Zip) - 367.7Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
            MySQL 8.4 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.2Mb
PDF (A4) - 40.3Mb
Man Pages (TGZ) - 262.1Kb
Man Pages (Zip) - 367.7Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
                                
    PDF (A4) - 40.3Mb
Man Pages (TGZ) - 262.1Kb
Man Pages (Zip) - 367.7Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb