Skip to content
CodeKruPro

In which order are the clauses of a query processed?

QuizMediumAsked in: Bitkernel

A query uses SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY. In which order does the database logically work through them?

  • FROM, WHERE, GROUP BY, HAVING, SELECT, ORDER BY
  • SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY
  • FROM, SELECT, WHERE, GROUP BY, ORDER BY, HAVING
  • WHERE, FROM, SELECT, GROUP BY, HAVING, ORDER BY

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in