Forum: Datenbanken
Delphi
by torud,
21. Okt 2009
Hallo,
hier nun des Rätsels Lösung!
SELECT matches.id, matches.round, teams.teamname AS
Team_A , teams_1.teamname AS Team_B , matches.result_a AS
Res_A, matches.result_b AS Res_B, matches.m_date, matches.m_time
FROM (matches INNER JOIN teams ON matches.team_a_id = teams.id) INNER JOIN
teams AS teams_1 ON matches.team_b_id = teams_1.id
Forum: Datenbanken
Delphi
by torud,
20. Okt 2009
Hallo Wissende,
ich weiss leider nicht, ob meine Themenbezeichnung korrekt ist.
Folgende Abfrage funktioniert wunderbar:
DataModule1.ADOQuery1.Close;
DataModule1.ADOQuery1.SQL.Clear;