Mehrere Zeilen in eine Spalte
Hallo,
ich habe ein Problem bei der Lösung einer SQL Anweisung.
Ausgangspunkt sind 3 Tabellen:
1. Tabelle
dbmail_header
Felder: physmessage_id, headername_id, headervalue_id
2. Tabelle
dbmail_headername
Felder: id (headername_id in dbmail_header), headername
3. Tabelle
dbmail_headervalue
Felder: id (headervalue_id in dbmail_header), headervalue
Ich möchte z.B. auf Basis von physmessage_id = 106 und aus dbmail_headername die headernamen ('from','to','date','subject') die daraus sich ergebenen headervalue - Inhalte in einer Row ausgeben in der Form:
physmessage_id, 'from', 'to', 'date', 'subject'
Wie kann man so eine Abfrage erstellen?
Gruß
Reiner
Subject
Views
Written By
Posted
Mehrere Zeilen in eine Spalte
1477
March 23, 2015 01:04PM
604
April 23, 2015 02:39AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.