Die Suche ergab 1 Treffer

von 2morpheus
Mo, 07.12.2009 23:16
Forum: Base / SQL
Thema: Abfrage soll aus "join" neue spalten erzeugen
Antworten: 1
Zugriffe: 288

Abfrage soll aus "join" neue spalten erzeugen

Moin,
mal wieder eine Anfängerfrage:
ich habe zwei Tabellen:
Tabelle 1

ID | c1 | c2 |
2 xx yy
3 xy yz
4 yd yf

Tabelle 2

IDo | titel | content
2 t1 ct12
2 t2 ct22
2 t3 ct32
3 t1 ct13
3 t3 ct33
4 t2 ct24
4 t3 ct34

und daraus soll entstehen:

ID | c1 | c2 | t1 | t2 | t3
2 xx yy ct12 ct22 ct32 ...