Need some Info and help.

Dear Friends,
I have two selects running something like this:
select <column-names> from <table-names> where <conditions>
union
select <column-names> from <table-names> where <conditions>.
there are three outer-join conditions in the first select and
three outer joins in the second like:
c=l(+)[in the first select]
d=m(+)
e=n(+)
and
f=l(+) [in the second select]
g=m(+)
h=n(+)
The result here generates 52 rows which is correct.
Now the case is that I am removing the union clause from the above SQL
and converting it like this.
select <column-names[1]>+<column-names[2]> from <table-names[1]>+<table-names[2]> where <conditions[1]>+<conditions[2]>
but i get the error:
same table cannot be outerjoined to two tables in the same query because i now have this
in the new query :
c=l(+)[from the first select]
d=m(+)
e=n(+)
f=l(+) [from the second select]
g=m(+)
h=n(+)
if I remove the join like:
c=l[from the first select]
d=m
e=n
f=l(+) [from the second select]
g=m(+)
h=n(+)
the query executes but results into 160 rows too much of unneeded redundancy, which is wrong.
My question is that:"Is there any way to do this? I mean to remove the union and combine the two selects into one without affecting the result of the Query which should be 52 rows only (while not affecting the joins I think this should also be the case)".
Need your suggestions.
Thanks,
Vishal

The union set operator performs a sort and deletes duplicates as a part of its definition.
If your revised query gives you the correct results only with duplicate rows then a select distinct may be all you need.
The cost of the sort and duplicate delete operation will affect your query performance but as the output result set is fairly small I do not think it will make much of a difference.
HTH -- Mark D Powell --

Similar Messages

  • I Need some assistant and HELP with my iPod Touch  soon

    Note: Look up above at the Top to read my Problem that I am having with my iPod Touch.
    Can Someone Please HELP ME with my iPod Touch, I am running out of patience, normally when I do need help here I usually get help and a reply within ONE day, but I have posted my problem YESTERDAY, why isn't there someone not replying to my request?? I am getting 55 views but no replys, isn't there anyone out there that can help me??
    I need HELP to reset my IPod Touch to where I had it when I was able to send emails. (can't send emails anymore from my iPod Touch)
    I want to be able to sync and send my iPod Touch sent emails info. to my Computer email program, does anyone know how to do that?
    PLEASE HELP ME AND REPLY if you can solve my problem ASAP.
    Trisha Foster

    Agreed! If you want help soon, call Apples paid support line. Now while you were waiting for us to slowly get around to answering you, you could have downloaded the manual for the ipod, so that you understood the function of the mail sync options in itunes. Mail sync only copies the settings needed to access your mail servers, from the mail client on your computer, over to the ipod touch. It does not copy any actual mail messages, and does not copy any settings from the ipod back to your mail program. The advanced section is meant to be used if you have messed up the settings on the ipod itself. It will ignore any changes to bookmarks, contacts, or mail settings depending on which you check, and will copy new information to the ipod. So in your case if you are able to access, and send mail correctly from the account on your mac, then clicking on the sync mail account button in itunes as well as the replace info on this ipod whatever in the advanced section should transfer over the correct mail account settings to your ipod.

  • TS3899 Since switching ios7 cannot send and recieve e mails - doing my head in need some advice and help!

    Open to answers... Not getting help from apple

    You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists. If it does, remove the email accounts from mail and add them again.

  • Need some advise and help Transferring files one mac to other

    I have created quite a problem for my self and can not seem to get out of it.
    I transferred my system from the G4 to the new Intel IMAC. Ended up with two accounts on the new Intel IMac. Was told to go to user/ and transfer files from one account to the other. Lost all of my files. Can not get the netscape back on with my bookmarks, Safari does not have any of my stored bookmarks, Quicken, Family Reunion are locked. Have done the permission repair. Still messed up.
    To add to this, I than decided to retransfer from G4 to Intel IMAC, but can not establish a target disk using Firewire. Follow the instructions holding T down and the screen comes up saying to reboot or shut down, it will not go to the target mode. And it does not appear that the G4 has a firewire extension now, it did two days ago. Can any one help?

    The Windows drive is probably formatted NTFS which is not natively writable
    by the Mac. It should be formatted as FAT32 to be usable on both.
    Dave

  • Need info and help with ARD

    I would really like to get some information and help that would enable me to troubleshoot my mother's new Mac Mini for her. She lives in CA and I live in WA. She is new to Macs and I just KNOW there will be lots of desperate phone calls from her to me!
    I should say right up front, though, that although I do pretty well with my own Macs, I know almost nothing about THIS subject. So, please, any help or information you choose to give me, it will need to be in plain, old English as I don't understand all this stuff.
    My setup is this: (I don't know what is relevant or not) ......I have a desktop G4 running 10.4.3 that will be the computer I will use to remotely control the Mini. The Mini is also running 10.4.3 (or will be when I get it set up for her). I am connected to the internet through a wireless connection to my ISP. I have a Linksys router and connect to that via Ethernet. We have 4 other computers here at home connected to our network wirelessly.
    My Mom will connect to the internet using a modem and AOL
    This is what I have done so far but I have not been able to make a connection. (As a test, before I go to CA and setup the Mini, I thought I’d try to remotely control my iBook, which is on my network.) On the iBook, I enabled ARD in the Sharing preferences and checked "VNC viewers nay control screen with password" and then entered a password. On my desktop computer, I downloaded Chicken of the VNC, entered in the info I needed (address of the iBook and password) but it would not connect.
    I've read so much about clients, servers, etc. here lately that my head is swimming and I’m more confused than ever!
    Can I even do what I'd like? It'd sure be a sweet deal for me and avoid a lot of frustration for my Mom .......who, incidentally, is switching to a Mac from a PC at the tender young age of 75! Cool, huh? I'd really like to make it as painless for her as possible.
    Thanks,
    Kathy
    G4/dual 1.25 and iBook G4/933   Mac OS X (10.4.3)  

    The phone line speed is the BIG issue.... there are things like DynDNS that cab help with the static issue...
    now if you get her highspeed through cable...
    good luck

  • I need some one to help me build a theme and a app for my restaurant

    Ok so I have been working on a theme for my restaurant and I also want to do an app. For it I'm looking for someone that is willing to work on the with me I have no time but I got the theme pretty much done just need it to be able to get it to my phone and go from there
    please hit me up if you want to make some cash and help me do this
    From Kevin

    Hi wildtoad and welcome to the BlackBerry Support Community Forums.
    You can download the BlackBerry Theme Studio to create your theme and load it to your BlackBerry.
    To download the Theme Studio visit http://na.blackberry.com/eng/services/themestudio/
    Thank you and have a great day!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Can someone please help me... i'm about to buy a new macbook pro and i need some pros and cons of SSD

    hi.. i'm about to buy a new macbook pro and i need some pros and cons of SSD.... i'm not sure which is really better, the regular hard drive or the SSD... because if i buy the mac with SSD it would be the 128GB, so i want to know how would that affect the overall performance of the computer...
    Thanks!

    I would suggest that you purchase the SSD through a third party source.  You will save money that way.
    Regarding the performance, go to the OWC web site.  They have bench tested their SSD vs conventional HDD and have published the results for anyone to see,
    The difference between the 128GB and the 256GB drives is capacity, no practical change to performance.
    Ciao.

  • Need some info on SAP Business One

    Hi, Need some info on these questions.
    1. Out of this which is the full SAP Enterprise -level business system.                  
                     SAP Business One
                     mySAP All-in-One
                     mySAP Business Suite
                     SAP NetWeaver
                     R/3
    2.SAP Business One allows users to export data directly to from screens to which of these:
                            Into Excel
                   Into Word
                   As JavaScript
                   As XML files
    Thanks for the help guys.
    Neehal

    Here is a link about SAP B1 :
    http://www.sap.com/solutions/sme/businessone/index.epx
    For SAP A1:
    http://www.sap.com/solutions/sme/businessallinone/index.epx
    Hope this will help
    Bishal

  • I would like to know some fun and helpful Terminal commands.

    I would like to know some fun and helpful Terminal commands. So, if you know of any, contact me!
         Thanks
         - Max

    Max,
    if you’ve installed the Xcode compiler and its “command line tools” add-on, there’s a lot of text-mode games for which source code can be downloaded and compiled. Back in the Neolithic Age when I was at university, Empire was a multiplayer favorite (see here for one of its current offspring, which can run multiplayer over the Internet, and for which a text-mode client is still available), and Rogue was popular for when solitary play was the only available option.

  • Need some intermediate and advance level website for SQL

    Hi Gurus
    I want to improve my SQL skills, is there any website through which I can improve that skills.
    Need some intermediate and advance level website for SQL.
    appreciate your suggestion. Thanks
    Regards
    Shu

    if you have a lot of time you can follow some of the larger threads on AskTom. I think Mr. Kyte can do almost anything with SQL. And there are also some recurrent contributors as Stew Ashton provinding very interesting solutions.
    Another option is to take a look at the answers in this forums: some participiants as Frank Kulash or Solomon Yakobson (to name just two of them) come up with astonishing pieces of SQL frequently.

  • New Builder needs some info K9A Plat. RAID Array help

    This is a new build AMD 64x2 6000+, K9A platinum, Lite On DVD Re Writeable SATA, 2x74Gig WD Raptors in Raid 0, Asus X1950 pro Thermaltake 700 W PSU Crossfire cert.
    BIOS registered my drives, Built array PC Rebooted, Installing Win XP pro Hit F6 install drivers, Format drives, Then before Install  It says that :setup cannot copy the file ahcix86.inf.
    If I skip it, it will install XP but when I try to boot from the hard drive It starts to load XP but crashes to the blue screen of death
    *** Stop: 0x0000007BC ( 0xF78A2524, 0xC0000034, 0x00000000, 0x00000000)
    Has anyone got this error string?
    First RAID array I would very much appreciate any help given.

    Hi!
    Looking at some info on Google and Microsoft site, I cannot find the BC error code, only the error code ending with B. It indicates an error with the boot device. It can be caused by several things.
    Check that you are using the correct device drivers to install Windows
    Also, check the installation CD. It could be that the disk was damaged and that you are missing a crucial file because of that
    You can also try installing Windows again and choose to recover the previous installation.
    If this all does not help, try installing Windows on a single HDD (no raid) to see if that will work.

  • Need some low level help/info on Grid Control / Data Guard

    I need to get some info concerning the set up and administration of Grid Control. In particular, I need to know why Grid Control needs to have the Oracle OS-Level username and password stored in Grid Control in order for GC to set up and manage a Data Guard database.
    Is it because when the database is being created, GC issues commands like RMAN and SCP to put files onto the standby host?
    Also, for accountability purposes, can I not use a named user account (with the same privs as the oracle user) saved as the preferred credential and still perform the necessary functions to use DG and GC together effectively.
    Probably a lot of info and variables, and I've not explained much, but happy to explain further if needed.
    Thanks!
    Edited by: joe.bednarz on Oct 14, 2009 9:38 AM

    Thanks for the input... we need to use another account other the "oracle" account so there is some accountability for who does what. If I create an account that has similar privileges as the oracle user, I can still run all things Oracle, while still having a log of my log in time and actions.
    More of security issue...
    Thanks again. Appreciate it!

  • IPod Touch Headphone Jack - Need some info on my GB appointment tomorrow!

    Greetings
    My iPod Touch headphone jack is broken for some reason, and I just made an appointment to go to the local Genius Bar with my father, as I don't yet have my license. I need to know some info, like:
    Is there a cost to fix the headphone jack?
    Any good tips to get a better experience or any helpful info for my appointment tomorrow?
    Thank you

    Any good tips to get a better experience or any helpful info for my appointment tomorrow?
    Be polite!

  • Need some notes and sample programms on LSMW

    hi Gurus i  need some material like step by step guide to LSMW and some sample programs.so can u help me.

    hi,
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
    http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    Regards,
    Anversha

  • I Need some info about interfacing the PC or laptop to Spectrum analyzer using Labview

    we need to control  the spectrum analyzer using an interface   that will    be   developed  using  Labview  .
    Spectrum analyzer will be connected to tha PC using RS 232C and the waveform observed will be seen in the PC interface of spectrum analyzer.
    Pls send some info regarding dis.

    Using a spectrum analyzer with LabVIEW is a pretty common application, my first program 15 years ago did this. What we need to know to help you though is what model spectrum analyzer are you planning on using? Most of the ones I'm familiar with use the GPIB interface rather than RS232, but that isn't a major issue, the spectrum analyzers command set is the important one. There are a lot of LabVIEW drivers available for a larger number of analyzers, here on the National Instruments' site. Although most use the GPIB interface (or ethernet), they can be used as a starting point to develop an RS232 driver if one isn't available, assuming that there is a driver for the model that you have, or a closely related one (manufacturers frequently use similar command sets within a model type).
    So, what type analyzer are you using, and what types of things are you planning on doing with it?
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

Maybe you are looking for

  • Calling a method in an owning object

    I have an application that involves an object (B) that is a member (not a sub-class) of another object (A). Within the owned object (B) I want to call up a method from the owning object A. E.g I would like to do something like this: class A object B;

  • Using Windows CS5 files on a Mac

    This is a generic question. I have never used a Mac based system, most of my time has been spent on Windows and several Unix, main frames etc. I really have  never used a Mac so I am ignorant of the real Mac basics. I use CS5 Photoshop, Illustrator,

  • "Installer failed to initialize" and Adobe Support Advisor HELP!

    I have tried downloading a trial of Photoshop Elements 11 and previously a trial of Adobe Photoshop CS6. Each time I get to the step where I launch the installer for the application, a box shows up saying, "Installer failed to initialize. Please down

  • What was the first GUI development tool of Oracle?

    Hi, I am an Oracle Developer and currently developing my own Website dedicated to Oracle, especially on the development tools. In my website I have a page dedicated to the history and development of the Oracle Developer tools, from SQL*FORMS 1,2,3,4

  • Convert PDF to WORD not working

    Just purchased ExportPDF - can't convert PDF file to WORD document. the "CONVERT" button on screen not activated.