|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Need help with sql query...
I'm trying to perform a query and I don't know much about SQL so I thought I'd ask here. I have 3 tables A, B, and C. Table A has App_Name and App_Num. Table B has Server_Name and Serial_Num. Table C has App_Num and Serial_Num. What I need is a list of all Server_Name's whether they have apps or not. If they do have apps I need to list all the App_Names on that server. Any help would be greatly appreciated.
|
|
#2
|
|||
|
|||
|
SELECT b.server_name, b.serial_num, a.app_name,a.app_num
FROM a, b, c WHERE a.app_name (+) = c.app_num AND b.serial_num = c.serial_num (+) |
|
#3
|
|||
|
|||
|
Thank you so much for the help. This was exactly what I needed. I was just trying to find the correct solution to a problem I was working on. I had a solution, but it was a sloppy combination of 3 seperate queries. Thanks again!!
|
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > Need help with sql query... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|