The HAVING statment  is added to SQL because the WHERE keyword could not be used with aggregate functions ( such as count, max …) [info] Advanced SQL SELECT Tutorial using Aggegrate Functions by Examples [/info] The syntax for using HAVING is as below:   SELECT column_name, aggregate_function(column_name) FROM table_name WHERE column_name operator ...Read More