|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
combine "union" and "order by "
How can combine union with order by together?
I tried the simple query, it works select channel_id, null, null from channel where channel_id < 6501 union SELECT channel_id, stream_id, null from stream where channel_id < 6501 order by channel_id but the complex one doesn't work (It shows ch.cahnnel_id is invalid indentifier) Any comments?? |
|
#2
|
|||
|
|||
|
What does
Quote:
mean? One thing, it should be Code:
order by CHANNEL_ID |
|
#3
|
|||
|
|||
|
Thank you very much.
Quote:
|
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > How to get data with condition = null? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|