Database Developer Question:

Tell us what is the difference between Having and Where clause?

Tweet Share WhatsApp

Answer:

Where clause is used to fetch data from a database that specifies particular criteria whereas a Having clause is used along with ‘GROUP BY’ to fetch data that meets particular criteria specified by the Aggregate functions. Where clause cannot be used with Aggregate functions, but the Having clause can.

Download Database Developer PDF Read All 70 Database Developer Questions
Previous QuestionNext Question
Tell me which TCP/IP port does SQL Server run?Tell me what are the three ways that Dynamic SQL can be executed?