MySQL having clause

MySQL having clause :

The having clause used to give a condition in query statements. It can be used with or without group by clause.

Syntax :


select * from <table_name> having <condition>;

Example :


select * from employee having salary>45000;

Advertisements