Thema: Delphi [SQL] Hilfe bei Abfrage

Einzelnen Beitrag anzeigen

omata

Registriert seit: 26. Aug 2004
Ort: Nebel auf Amrum
3.154 Beiträge
 
Delphi 7 Enterprise
 
#4

Re: [SQL] Hilfe bei Abfrage

  Alt 25. Mär 2010, 22:36
SQL-Code:
SELECT g.id, g.parent, g.itemlevel, g.name, cg.contact_id
FROM groups g
LEFT JOIN contacts2groups cg
  ON g.id = cg.group_id
     AND cg.group_id = 1
  Mit Zitat antworten Zitat