Forum: Datenbanken
Delphi
by marabu,
1. Jul 2008
Ganz offensichtlich gibt es mehr als eine CLUB_REGION zu einem bestimmten INTERNAL_ID.
Beschreibe bitte mal die Komplexitäten:
RL (1:0,n) MV | Zu jedem RL können mehrere MV existieren
Forum: Datenbanken
Delphi
by marabu,
1. Jul 2008
Hallo Andi,
mir sind bisher zwei Ansätze dazu begegnet:
select t1.id, t2.vorname, t2.nachname,
/* new fashion: TO_STRING(CAST(COLLECT(t3.bereich) AS varchar2_ntt)) AS bereiche */
/* old fashion: NVL(concat_all(concat_expr(t3.bereich, ',')), '-/-') bereiche */
from tabelle1 t1
left outer join tabelle2 t2 on t2.id=t1.id