Ich habe 2 erstellt TabellenWas ist der Unterschied zwischen linker und linker äußerer Verbindung?
CREATE TABLE table1(customerName VARCHAR(20),custid NUMBER ,order_id NUMBER ,price NUMBER);
CREATE TABLE table2(id NUMBER ,salary NUMBER);
Jetzt habe ich versucht, die Abfragen
SELECT t1.customername,t1.custid,t2.salary FROM table1 t1 left join table2 t2 ON t1.custid = t2.id;
SELECT t1.customername,t1.custid,t2.salary FROM table1 t1 left outer join table2 t2 ON t1.custid = t2.id;
Aber ich die gleiche Leistung erhalten zu verwenden. Gibt es einen Unterschied zwischen ihnen in ihrer Arbeit? oder sind beide gleich?
None, 'LINKS JOIN' ist nur die Kurzform von' LEFT OUTER JOIN'. – jarlh
okay ,, danke :) –