HAVING and HAVING + GROUP BY Clause: https://www.dofactory.com/sql/having SQL GROUP BY Clause: https://community.modeanalytics.com/sql/tutorial/sql-group-by/ SQL BETWEEN Operator: https://www.w3schools.com/sql/sql_between.asp