PHP-Code: Select Abfahrt_Ort, Ziel_Ort, a.Abfahrt_LAnd, b.Ziel_Land from MyFile, a.Ortsdatei, b.Ortsdatei where Abfahrt_Ort = a.Ortsname and Ziel_Ort = b.Ortsname ohne zu testen denke ich mal so in etwa
Select Abfahrt_Ort, Ziel_Ort, a.Abfahrt_LAnd, b.Ziel_Land from MyFile, a.Ortsdatei, b.Ortsdatei where Abfahrt_Ort = a.Ortsname and Ziel_Ort = b.Ortsname
Hallo, Select * from MyFile a where exists( select Land from Ortsdatei b where b.ort in(a.Abfahrt_Ort, b.Ziel_Ort) and b.Land <> 'Deutschland' ) Liefert die Sätze aus MyFile wo der einer der Orte nicht in Deutschland liegt. Tschüß Benedikt
Foren-Regeln
Bookmarks