Possible duplicate:Is there something wrong with joins that don't use the JOIN keyword in SQL or MySQL?
Hi,
I always received data without connections ...
but is there any advantage of one method over another?
select * from a INNER JOIN b on a.a = b.b; select a.*,b.* from a,b where a.a = b.b;
Thank!
These are both compounds. these are just two different syntactic representations for joins. The first (using the "Join" keyword is the current ANSI standard (as of 1992).
differeent , ANSI SQL92 , , . where, , . (, ).
, , , Join WRONG ResultSet.
.
INNER JOIN:
INNER JOIN
, - ββ WHERE, , ( ).
WHERE
JOIN WHERE, ..... INNER JOIN ( , ).
, - . .
JOIN. ( JOIN), , , .
JOIN
. , :)
, SQL- , . SQL .
You can also use EXPLAIN(SQL Server: Execution Plan Query ) to help you understand if there is a difference. Each request is unique, and I believe that stored statistics can (and will) change behavior.
EXPLAIN
Source: https://habr.com/ru/post/1777486/More articles:JNDI path for JDBC data sources? - javaWhat is uri actually used for namespace? - xmlStep-by-Step Form with MVC - model-view-controllerHow to count the number of instructions? - assemblySession lost using hostname instead of IP address (IE) - asp.net-mvc-2How to cross-reference existing doxigenic documents? - c ++Insert username in Powershell file path - powershellXAML Style Sources - stylesSave something in jar - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1777491/passing-variables-to-a-jruby-application-via-tomcat-config&usg=ALkJrhh0gND0F0lvtJz8cHU6XGwzlvWWCAAll Articles