Pergunta de entrevista da empresa Infosys

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