Master 30 Back End Developer interview questions covering APIs, databases, system design, and server architecture.
Question 19 of 30
How to Answer
Example Answer
Community Answers

William Swansen has worked in the employment assistance realm since 2007. He is an author, job search strategist, and career advisor who helps individuals worldwide and in various professions to find their ideal careers.
This technical question asks you to compare two techniques utilized when developing a new software application. This is a typical example of a technical question. When responding to this type of question, first define each term and then compare them. In some cases, you may want to state the advantages one offers over the other, or provide an example of how they are used to strengthen your answer.

William Swansen has worked in the employment assistance realm since 2007. He is an author, job search strategist, and career advisor who helps individuals worldwide and in various professions to find their ideal careers.
"The difference between a WHERE clause and a HAVING clause is based on whether the program uses aggregated columns. A WHERE clause can only be used when there are no aggregated columns, and the program uses static non-aggregated columns. By default, the HAVING clause is used on aggregated columns."

Interview Coach
Jaymie
A real coach, not AI. I read every answer myself and write back with personalized feedback.
Typically responds within 24 hours.
0 - Character Count
Anonymous Answer
Both clauses are part of an SQL SELECT command and act as filters. The WHERE clause applies filtering at the individual record level for a given condition, whereas the HAVING clause is used to filter aggregates of records by a given condition (after data has been aggregated via an aggregate clause, the set of groups is filtered by the HAVING condition). I have used the built-in ORM in Django for abstract writing SQL queries to RDBMS.
Marcie's Feedback
Nice! The interviewer will undoubtedly be very impressed by all of your technical knowledge. Adding a personal example strengthens your answer too!
Unlock expert responses to technical questions that separate senior from junior developers.
Get StartedJump to Question

Written by William Swansen
30 Questions & Answers • Back End Developer

By William

By William