title image


Smiley Re: Ora: Sortieren in Unions
Hi,



das macht man über ein Subselect:



select * from (

select term_1 as Datum, feld_1... from T1

UNION

select term_2 as Datum feld_1... from T2

UNION

select start_1 as Datum, feld_1... from T3)a

order by a.Datum





Dim



Zitat Tom Kyte:
I have a simple philosophy when it comes to the Oracle Database: you can treat it as a black box and just stick data into it, or you can understand how it works and exploit it as a powerful computing environment.

OTN's "Greatest Hits" CD

SQL-Tips.de Das SQL-Wiki


geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: