What is the processing order of logical parts of the following query?

SELECT ClientId, SUM(t2.Amount) total FROM cliens t1 JOIN orders t2 ON t1.ClientId = t2.ClientId WHERE ClientName Like 'John%' GROUP BY ClientId HAVING t2.Amount > 100 ORDER BY total DESC LIMIT 1

Experience Level: Not defined
Tags: DatabasesSQL

Answer

Comments

No Comments Yet.
Be the first to tell us what you think.