Hello,
Richtig so? Oder gehts noch leichter?
Es geht sauberer. Implizite Joins neigen dazu undurchsichtig zu werden.
SELECT
b.xxx,
b.yyy,
t.ddd,
t.rrr,
t.uuu
FROM
tab1 b
INNER JOIN
tab2 t
ON b.bestellID = t.bestellID
WHERE b.SpielID = $SpielID
MfG
Rouven
--
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
Because good guys need a break every once in a while. -- Morty in "Click" (Columbia Pictures, 2006)
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
Because good guys need a break every once in a while. -- Morty in "Click" (Columbia Pictures, 2006)