Is anyone else surprised that this doesn't throw a syntax error?

SQL> select d.c1, d.c2 from
  2    ( select dummy c1 from dual ) d,
  3    ( select dummy c2 from dual ) d
  4   where d.c1 = d.c2;
C C
X XWorks in 10.1.0.5, 10.2.0.5 and (shame on me) 8.1.7.4 - I don't have an 11.x to try
Before you ask ...
This is a distillation from a large query I was looking at where I discovered that I had (by mistake) used the same alias twice in the same where clause - seems like that is legal (and works) provided you don't reference any columns which have the same name in the two objects - in that case you get ORA-00918: column ambiguously defined.
It sems to me that duplicating an alias like this should be a syntax error.

Hi,
It is not an error, Oracle can distinguish the tables because the column names are different. It doesn't use the alias then at all. Read this also: [url http://it.toolbox.com/blogs/oracle-guide/ambiguity-in-sql-42366]Ambiguity.
Herald ten Dam
http://htendam.wordpress.com

Similar Messages

  • Does anyone else feel that Apple doesn't care about the issues we have been presenting to them? I have a lot of their products and I'm fed up with none of them working like they used to.

    I'm not going into detail but I've had it with my products being so crappy lately. From what I've read, Apple seems to not care as long as they are selling products. They have not acknowledged or owned up to the issues we are experiencing. I feel like maybe a boycott is in order.  I cannot be the only one that is this frustrated with my iPhone and iPad!

    The mail in rebate tells me that you sign a 2 year agreement. I have no idea why what they quoated to is different then what you got You could always do this:
    "HOW AND WHEN CAN I DISPUTE CHARGES?
    If you're a Postpay customer, you can dispute your bill within 180 days of receiving it, but unless otherwise provided by law or unless you're disputing charges because your wireless device was lost or stolen, you still have to pay all charges until the dispute is resolved. If you're a Prepaid customer, you can dispute a charge within 180 days of the date the disputed charge was incurred. YOU MAY CALL US TO DISPUTE CHARGES ON YOUR BILL OR ANY SERVICE(S) FOR WHICH YOU WERE BILLED, BUT IF YOU WISH TO PRESERVE YOUR RIGHT TO BRING AN ARBITRATION OR SMALL CLAIMS CASE REGARDING SUCH DISPUTE, YOU MUST WRITE TO US AT THE CUSTOMER SERVICE ADDRESS ON YOUR BILL, OR SEND US A COMPLETED NOTICE OF DISPUTE FORM (AVAILABLE AT VERIZONWIRELESS.COM), WITHIN THE 180–DAY PERIOD MENTIONED ABOVE. IF YOU DO NOT NOTIFY US IN WRITING OF SUCH DISPUTE WITHIN THE 180-DAY PERIOD, YOU WILL HAVE WAIVED YOUR RIGHT TO DISPUTE THE BILL OR SUCH SERVICE(S) AND TO BRING AN ARBITRATION OR SMALL CLAIMS CASE REGARDING ANY SUCH DISPUTE."
    Make sure to read the customer aggreement so you know everything before callign in.  This way you can know your rights. Customer Agreement | Verizon Wireless

  • When I plug my iPhone 4s into my PC, I get an error message that says iTunes needs a newer version of Apple Mobile Device Support. It wants me to uninstall both the AMDS and iTunes and then reinstall iTunes. Has anyone else run into this problem recently?

    When I plug my iPhone 4s into my PC, I get a message that says iTunes needs a newer version of Apple Mobile Device Support. It wants me to uninstall both the AMDS and iTunes and then reinstall iTunes. iTunes won't recognize my phone and so I can't synch it. Has anyone else run into this problem recently and how did you resolve it? Thanks!

    Thank you both. I suppose I should have prefaced my question with the concern that I've read a number of other posts from people who have had a similar issue and when they tried to follow the directions, they ran into a multitude of other problems. As you might imagine, I'm hoping to avoid the creation of new problems as I try to solve this one. Thanks again.

  • HT1567 I can't import an audio cd to itunes to add to my library. I ran a diagnostics test and it had a red light next to: Unable to access audio cd. I am wondering if anyone else has had this problem and if there is an easy solution?

    I can't import an audio cd to itunes to add to my library. I ran a diagnostics test and it had a red light next to: Unable to access audio cd. I am wondering if anyone else has had this problem and if there is an easy solution?

    Satellite L675-S7113 Specifications (PSK3AU-07C02S)
    Satellite L675-S7113 Support Page
    rwls wrote:...since I got it 3 years ago I've been unable to burn an audio CD from ITunes or Windows media although it worked once after the computer had been shut off for awhile..and didn't find the problem until after my warranty had expired...
    From your statements above, it sounds like you never tried to burn a CD for at least the first year that you owned the laptop, as it had a one year warranty on it. While you might have used it frequently to install software,  play DVDs, Blu-Ray disks, etc, that's unclear from your statements. Nonetheless, it might just be dirty-dusty. So, before deleting-uninstalling any software, and given they're cheap, try a CD-DVD Cleaner Disk first and see if that resolves your problems.
    Let us know what happens. Good luck.
    Mike

  • Does anyone else think that the AppleMac group of products are marketed in a greedy way? I have MacBook Pro 10.5.8 and am now told that I have to upgrade to Snow Leopard to sync my new iPad. Of course there isn't enough memory on the MacBook? I'm angry!

    Does anyone else think that the AppleMac group of products are marketed in a greedy way? I have MacBook Pro 10.5.8 with Leopard and am now told that I have to upgrade to Snow Leopard so that my system can download the relevant iTunes upgrade to sync my new iPad and get my audiobooks (which don't appear anywhere on the device right now). Of course there isn't enough memory on the MacBook and Snow Leopard costs more also? I don't have financial resources to pay for all the new memory requirement and related upgrades they say I need just to sync my iPad with my purchases.

    Thanks for the reply but I already knew this. $20 for Snow Leopard which asks for 5gb free memory. I can only see that I have 4 gb (which I feel is rather a pathetic amount of available memory for any computer). To upgrade this computer's memory will cost another fee (I haven't researched this yet but gather it's more than $20). Then of course I could also be told that the OSX Mackbook Pro that I have can't be memory upgraded - which means I'm being told to buy a new computer - hence my very frustrated last email. I have been given a lovely iPad 2 as a present and now can't sync at all with anything because of this ongoing upgrade nightmare. How on earth am I going to be able to sync my movies, audiobooks etc to this new device??

  • (error code -50). Has anyone else dealt with this issue?

    When I try to copy something from my desktop to an external hard drive I keep getting this message: The operation can’t be completed because an unexpected error occurred (error code -50). Has anyone else dealt with this issue?

        That is a pretty strange message. Have you had a chance to reach out to Windows Live?
    TamaraH_VZW
    Follow us on Twitter @VZWSupport

  • Using Firefox, I can login and browse my financial institution (NFCU) but I cannot pay bills. When I click the bill pay tab, the tab loads 66% and then hangs. Has anyone else reported having this issue?

    Using Firefox, I can login and browse my financial institution website (NFCU) but I cannot pay bills. When I click the bill pay tab, the tab loads about 66% and then hangs (loading). I have let it load until NFCU asks me if I want to cancel the session, a much to long of a load time. Has anyone else reported having this issue with NFCU or Mozilla Firefox 3.6.18?
    I have also posed the question to NFCU, currently awaiting response and will share what was given.

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

  • Has anyone else found that Sony XAVC 4K files are flagged as camera files in Import?

    Has anyone else found that Sony XAVC 4K files are flagged as camera files in Import? 
    It sems that because they are being seen as a camera it is not possible to leave them in place on import?
    I have already backed up the camera files onto Thunderbolt drives and therefore I don't want them to be moved again!!
    Can I force FCPX to see the Ext HDD as a volume not a Camera?
    Thank you
    Jules

    Hi Tom
    Thank you for your reply,
    Surely all files originated from a camera? If I back them up to an external drive and clone them onto another drive for editing with FCPX, I don't expect them to be seen as camera files which FCPX then copies again just so that I can edit them. I just want to leave them in place, but FCPX doesn't give me that option.
    It seems that FCPX has failed at the first hurdle. It is forcing me to have to buy extra storage just so that FCPX can copy them on import. Surely, if FCPX can handle them natively then why does it have to move them?
    Jules

  • I am using iBooks Author to write lesson plans.  Anyone else working on this?

    I am working with my district's professional development office to utilize iBooks for lesson plans.  The idea is to provide teachers with digital teaching so they will be better equipped for digital learning.  Anyone else working on this? 

    Great work.
    Note that the Widget is not a "Quiz" widget. It's a "Review" widget. It's meant for self assessment like the questions at the end of chapters in printed textbooks.
    You could create a Quiz or Test inside of your LMS/VLE/CMS site and add a web link to the quiz after a few self assessment review questions? Something like "Have you mastered this material? Click here if you're ready to take the test..."
    Also, might I suggest looking at iTunes U Course Manager as the tool to hold your books together?
    https://discussions.apple.com/community/itunes_u/itunes_u_course_manager

  • My laptop got wet - battery icon now has a X inside and it is not holding any charge at all, anyone else dealt with this scenario?

    My laptop got wet - battery icon now has a X inside and it is not holding any charge at all, anyone else dealt with this scenario?

    The battery is not detected, so it means that the battery or the battery connector are not working, which is a serious problem.
    Turn off your MacBook and take it to an Apple Store or reseller. It will be an expensive repair if your logic board has to be replaced. Read > https://discussions.apple.com/docs/DOC-5511

  • Does anyone else feel that the iPhone is sluggish after update 1.1.1?

    Is it just me or does anyone else feel that the iPhone feels more sluggish after update 1.1.1? I haven't unlocked or hacked the phone in any way and so it must be due to the update. I thought that the sluggish behavior could be due to a recent update and so I reset the phone. But I still feel that the iPhone has lost that responsiveness that it used to have before. Any one else experiencing this?

    Yes, without question I thought typing, especially, was sluggish at first. However, after a day it has seemed to speed up and now, I'd say, is back to original performance, or close to it.
    Also, I have lots of contacts (2500), and the phone has been very slow to make the first identification of email addresses when I start typing. Specifically, it freezes for several seconds after the first letter is typed. However, I believe that process is a bit faster after this update.
    Derek

  • Since the Kit Kat update every time I am on a call I here a Beep on my phone every 30 seconds very annoying anyone else having that problem.

    Since the Kit Kat update every time I am on a call I here a Beep on my phone every 30 seconds very annoying anyone else having that problem.

        Thanks for the information DiGravio1! Let's look further into this. Please navigate to Settings>My Device>Call>Call Alerts>Under Call Status Tones Un-check alerts>Power off/on, test and share. Thank you.
    TominqueBo_VZW
    Follow us on Twitter @VZWSupport

  • HT3669 This software update keeps popping up almost everyday in my iMac 27 although I keep updating. Looks like the either the update is not happening on my machine or some other problem. Anyone else know of this?

    This software update keeps popping up almost everyday in my iMac 27 although I keep updating. Looks like the either the update is not happening on my machine or some other problem. Anyone else know of this? Everytime I check for updates (I have the setting to manual check), an alert pops up in Apple store with the phrase "Lexmark Printer Software Update 2.11" available for download.
    Is there a way I can turn off this notification for Printer updates until it is resolved? It is pretty annoying.
    Thanks

    Not sure this will help yet, having just noticed it myself, but you can now get the Lexmark driver 3.0 for download here:  http://support.apple.com/kb/DL1397
    I'm going to give that a try to see if I stop getting the constant reminder for 2.11.

  • When I open a website in Muse it often takes 5-10 minutes before the fonts display correctly. Anyone else had that problem?

    When I open an existing site in the Muse CC 2014, it will often (most of the time) take anywhere from 5 minutes to 10 minutes for the fonts to display correctly. Example below. Anyone else having that problem? It is always TypeKit fonts that take the longest. I know, a first-world problem but with 20+ sites I am losing 200 minutes every time I need to change something on all of them. That's almost half a day.

    I Also have this problem!!
    In my situation, the screen simply started exhibiting the same symptoms a few weeks ago (early February) for no apparent reason.  At first I thought the screen was dead, but discovered the heat solution by accident.  Now I turn it on and keep it from going to sleep until I go to bed.  Thank goodness the battery is still awesome on this thing.
    I bought it new and still has the original screen, I keep it at home (never below 62 degrees).  Coincidentally, this happened a day or two after the expiration of the warranty!!  Any help figuring this one out would be eternally appreciated.
    iPad mini retina Wi-Fi, iOS 8.1.3

  • HT1338 Apple sent me a disc for Snow Leapord so I could upgrade to Lion, but the disc won't install.  Anyone else have that problem?  How do i solve?  Can't move to I cloud until it is done.

    Apple sent me a disc for Snow Leapord so I could upgrade to Lion, but the disc won't install.  Anyone else have that problem?  How do i solve?  Can't move to I cloud until it is done.

    Hold c and reboot off the 10.6 disk, run the installer.
    If the machine your upgrading is the 2006, I'd highly advise you stay on 10.6.8
    It's a 5 year old machine, you're in the last life stages of that machine and 10.7 will push it right over the edge.
    10.6 is a GOOD upgrade for that machine, faster than 10.7 or 10.5.
    And 10.6 will run your 10.5 software, 10.7 will not.
    Get iCloud with a new 10.8 machine coming out after this summer, seriously.
    Your machine is too old to bother with Lion.
    Or else you can learn yourself and use this link to get back to Snow, good luck finding your 10.5 programs.
    How to revert your Mac to Snow Leopard

Maybe you are looking for