Answer the question
In order to leave comments, you need to log in
Is there any difference between such SQL queries?
Request 1 SELECT COUNT(*) FROM TABLE1
Request 2
SELECT COUNT(*) FROM TABLE1 T1
LEFT OUTER JOIN TABLE2 T2
ON T1.T2_ID = T2.ID
...
LEFT OUTER JOIN TABLEN TN
ON T1.TN_ID = TN.ID
Answer the question
In order to leave comments, you need to log in
* (asterisk) implies that you select everything.
So, first, a selection of N tables, and then only the calculation of the results
. Otherwise, what should he count?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question