Hi @Andrew Winsinger ,
The standard SQL parsing sequence is:
(1). FROM clause, to assemble data from different data sources
(2). WHERE clause, filter records based on specified conditions
(3). GROUP BY clause, divide the data into multiple groups
(4). Use aggregate functions for calculation
(5). Use HAVING clause to filter groups
(6). Calculate all expressions
(7). Use ORDER BY to sort the result set
Is this the time difference when you execute the two select statements separately?
The same statement is executed many times, but the time is different. I often encounter this situation. I am not sure what caused this, but this is a normal phenomenon. Maybe it is related to memory and cpu.
If you have any question, please feel free to let me know.
If the response is helpful, please click "Accept Answer" and upvote it.
Regards
Echo
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hot issues October--https://learn.microsoft.com/en-us/answers/questions/142427/users-always-get-connection-timeout-problem-when-u.html