Hallo zusammen!
Ich habe folgendes seltsame Problem. Eine Select-Anweisung der Form
SELECT t1.a, t1.b, t2.a
FROM t1, t2
WHERE ...
liefert als Ergebnis mehrere gleiche Zeilen
t1.a t1.b t2.a
----------------------
x y z
x y z
x y z
Wenn ich jetzt ein DISTINCT in die SELECT-Anweisung reinschreibe, kommt
t1.a t1.b t2.a
----------------------
x y
Also da steht dann eine leere dritte Spalte. Hat jemand so etwas schon einmal gehabt? Ich kann’s mir nicht erklären und kriege mittlerweile hysterische Lachkrämpfe.
Würde mich über einen Tip sehr freuen
LG
Mathemat