- In the 
                  		  OpenESQL Assistant, create a 
                  		  SELECT (cursor) or a 
                  		  SELECT DISTINCT (cursor) query. 
                  		
               
  
               		
               - On the tree view, right-click a column name. 
                  		
               
  
               		
               - Click an aggregate function to perform on the column. 
                  		
               
  
               	 
            
 
            	 
            Note: For more information about aggregate functions, see the SQL documentation for your DBMS.