Infosys Interview Question

What is the difference between where and having ?(SQL)