Select Abfrage aus Liste
Hallo liebes Forum
Folgende einfache Abfrage bringt mich zum verzweifeln.
SELECT * FROM TAB WHERE ID IN(1,2,5,8,3,2,2,1)
Diese Abfrage listet jede vorhandene ID aus der Liste einmal auf. Ich möchte aber ein Resultat mit allen IDs in einer Liste mit der gleichen Reihenfolge.
zB
ID C1 C2 C3
1
2
5
8
3
2
2
1
Ist das möglich?
Danke für Eure Hilfe
Bruno
Subject
Views
Written By
Posted
Select Abfrage aus Liste
1482
August 15, 2012 12:45AM
1227
August 15, 2012 01:20AM
807
August 15, 2012 01:37AM
850
August 16, 2012 04:05AM
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.