SQL Join Problem - Seite 2

Seite 2 von 2 - Forum: Coding Stuff auf overclockers.at

URL: https://www.overclockers.at/coding-stuff/sql-join-problem_254298/page_2 - zur Vollversion wechseln!


JDK schrieb am 03.09.2019 um 14:27

LEFT JOIN und LEFT OUTER JOIN sollten übrigens synonym sein.


Paxi schrieb am 03.09.2019 um 15:03

Ich meinte INNER JOIN ist synonym mit JOIN


JDK schrieb am 03.09.2019 um 15:09

Zitat aus einem Post von Paxi
Ich meinte INNER JOIN ist synonym mit JOIN

Ja, aber das ist eben kein LEFT JOIN.

Siehe: https://www.w3schools.com/sql/sql_join.asp

Zitat
(INNER) JOIN: Returns records that have matching values in both tables
LEFT (OUTER) JOIN: Returns all records from the left table, and the matched records from the right table
RIGHT (OUTER) JOIN: Returns all records from the right table, and the matched records from the left table
FULL (OUTER) JOIN: Returns all records when there is a match in either left or right table


Paxi schrieb am 03.09.2019 um 17:40

Right dat.


Umlüx schrieb am 04.09.2019 um 11:11

so. ich denk ich habs irgendwie hinbekommen. mit eben LISTAGG die notes zusammenfassen und per CASE dann abfragen und den gewünschen wert hinschreiben. sieht furchtbar aus, aber scheint zu funktionieren.

danke für eure antworten.


Bogus schrieb am 04.09.2019 um 11:27

eine oft hilfreiche übersicht:

click to enlarge




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026