It seems that oracle ignors the where clausal.

Hello
Can anyone explain why this query don't work and how I can make it work.
select movie.title, store.id from movie,store where trunc(dbms_random.value(0,100)) <= 75;

Hi,
SQL> select empno,ename,salesmanid,name
  2  from emp,salesman
  3  ;
     EMPNO ENAME      SALESMANID NAME
      7369 SMITH               1 Christina
      7499 ALLEN               1 Christina
      7521 WARD                1 Christina
      7566 JONES               1 Christina
      7654 MARTIN              1 Christina
      7698 BLAKE               1 Christina
      7782 CLARK               1 Christina
      7788 SCOTT               1 Christina
      7839 KING                1 Christina
      7844 TURNER              1 Christina
      7876 ADAMS               1 Christina
     EMPNO ENAME      SALESMANID NAME
      7900 JAMES               1 Christina
      7902 FORD                1 Christina
      7934 MILLER              1 Christina
      7369 SMITH               2 Doug
      7499 ALLEN               2 Doug
      7521 WARD                2 Doug
      7566 JONES               2 Doug
      7654 MARTIN              2 Doug
      7698 BLAKE               2 Doug
      7782 CLARK               2 Doug
      7788 SCOTT               2 Doug
     EMPNO ENAME      SALESMANID NAME
      7839 KING                2 Doug
      7844 TURNER              2 Doug
      7876 ADAMS               2 Doug
      7900 JAMES               2 Doug
      7902 FORD                2 Doug
      7934 MILLER              2 Doug
28 rows selected.
SQL> select empno,ename,salesmanid,name
  2  from emp,salesman
  3  where rownum < (select count(*)*0.75 from emp,salesman)
  4  /
     EMPNO ENAME      SALESMANID NAME
      7369 SMITH               1 Christina
      7499 ALLEN               1 Christina
      7521 WARD                1 Christina
      7566 JONES               1 Christina
      7654 MARTIN              1 Christina
      7698 BLAKE               1 Christina
      7782 CLARK               1 Christina
      7788 SCOTT               1 Christina
      7839 KING                1 Christina
      7844 TURNER              1 Christina
      7876 ADAMS               1 Christina
     EMPNO ENAME      SALESMANID NAME
      7900 JAMES               1 Christina
      7902 FORD                1 Christina
      7934 MILLER              1 Christina
      7369 SMITH               2 Doug
      7499 ALLEN               2 Doug
      7521 WARD                2 Doug
      7566 JONES               2 Doug
      7654 MARTIN              2 Doug
      7698 BLAKE               2 Doug
20 rows selected.
SQL> Nicolas.

Similar Messages

  • HT1311 I have tried this method but it seems that every time the region is set back to the original one as if I didn't change anything

    I have tried this method but it seems that every time the region is set back to the original one as if I didn't change anything

    Try it this way and see if it works. If you do not have a credit card registered to a legal address in the country in which you want to purchase, you will not be able to buy from that store anyway.
    Settings>iTunes and App Stores>Apple ID
    Tap your ID
    Sign out
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Settings>iTunes and App Stores>Apple ID
    Sign into your ID
    Tap your Apple ID after signing in
    Tap View Apple ID
    Enter your password
    Go to Country/Region to change the store.

  • I can't restore my data from my iphone5s or ipad to my new iphone6, because it woulkd seem that none of the available backups from icloud are compatible with iOS 8.0.2, which is what the new iphone is running. (or so it seems).

    Just received my iphone6, as my iphone5s gave up the ghost. Completely. I now want to restore everything that I had on my old phone to my new new one using icloud. However, when I arrive at the screen that asks you to select a backup version, it shows me a list, but then at the bottom of the screen there is a message that says that 'no icloud backups are compatible with the version of (8.0.2) on this iphone.' I also have an ipad, and both the 5 and the ipad were updated to 8.1. I did try to back up via itunes, but only got some of my photos's back and none of my messages, some of which had essential information on them. Anybody have any idea's? Any help gratefully recieved!

    Your iPhone's iOS must be same or newer than the one in backups. In your case it is older so you need to update your iPhone and then recover it with backup.

  • It seems that NI dropped the Activex Events from the Control Panel in LabVIEW 7.0. Why???

    I have Labview 6.0/6.1 Activex vi's that no longer work in LabView 7.0 There are no longer ActiveX Events vi's in the Communications->ActiveX control set. What is the deal with that??? Pretty much makes my $2400 upgrade investment worth nothing as far as I can see.

    kup,
    Are you sure that your VIs no longer work? They should. The support VIs are located in "vi.lib\Platform\ax-events.llb". The functionality was not taken away, the VIs were simply removed from the function palette. Also, ActiveX Events may now also be handled using calback VIs. This is much better, IMO. Seach the examples for "ActiveX" and "callback".
    -Jim

  • I have a photographer CC membership and want to update my LR? It seems that i have the LR 5 and not able to update. i was wondering if I have both.Can't open de app in my CC desktop? Can some one give me a hand?

    nt' open teh app

    Hi Joyce,
    I believe you wish to get the Lightroom CC on your machine.
    Please refer to the link below to download Lightroom CC:
    New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools
    Regards,
    Sheena

  • Oracle Ignores hint in One Instance and uses the hint in another instance

    Hi Oracle World,
    I am experiencing a strange problem in Oracle.
    We have two oracle servers: one for Test and one for Production.
    We have exactly the same code for a view in both the systems:
    The code is as follows:
    CREATE OR REPLACE FORCE VIEW V_FT(...................)
    AS
    SELECT /*+ star_transformation fact (FT) */
    FT.*, AH.ACCT_1, LH.REGION, FH.FNCT_1
    FROM
    LOCATION_HIERARCHY LH,
    ACCOUNT_HIERARCHY AH,
    FUNCTIONAL_HIERARCHY FH,
    FACT_TABLE FT
    WHERE
    LH.COMPANY = FT.COMPANY
    AND AH.ACCOUNT = FT.ACCOUNT
    AND FH.FUNCTIONR = FT.FUNCTION;
    When I see the execution path:
    In Test box the Explain plan is as expected: It takes the Star_transformation hint into account, converts all three reference table joins to bitmap and performance is good.
    But In Production, It tatally ignores the table name from the hint.
    Also it converts all the tables names to lower case: though it shouldn't impact, I have also tried to give the table names in lower case and then tried. Same issue.
    Tried with NO_MERGE hint. It was pretty good in Test but same issue in Production: it ignoes the table name from hint.
    I have taken out the table name from test and then tested. Now both the explain plans match. That proves oracle ignores the table name in Production.
    We have compared all the parameters in both. They are 100% same. All indexes are analyzed. Can anyone please help what could be the fundamental difference that causes this difference?
    Production takes 8 minutes for a specific query whereas Test returns the same query in 45 secs. Data volume is also not very much different except few hundreds.
    Any pointers please?
    Thanks & Regards
    Saswati

    It is enabled. As I have mentioned we have compared all the parameters in both.
    All v$parameter, init.ora settings everything is same.

  • Where can I complain that Microsoft destroyed the Windows XP search feature and replaced it with an inferior/deficient one?

    Oftentimes, the searcher simply says (in under 1 second): 0 Items.
    I happen to know that there are MANY matches in that particular folder.
    There is no disk access.
    It seems that Microsoft -always the visionaries- found a way to place a whole disk filesystem in my limited RAM.
    TIA

    Hello,
    Instead of complaining about the search function, which actually works very well, once configured correctly, I'd ask about it in the
    Windows forum on Microsoft Community.
    Karl
    So you are criticizing my post, Karl???
    Should Microsoft get rid of this particular forum, then?
    I guess you could say that I am criticizing your post, while trying to be helpful.
    This forum is designed to get advice on where the best place is to ask a question.
    You want to complain, I suggested that instead of complaining, which so many do, perhaps a better way to get help is to ask for help.
    Remember, 90% (or more) (and NO, I don't have proof) of the people here are volunteers, freely giving their time to help others.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • It seems like some of the features that I want to use are not available  in MUSE like in browser editing?

    I decide to use Business Catalyst for hosting because it came with my CC membership, However it seems that some of the main things I wanted to do might not be available or can only be used for additional membership fees.  I wish that this was more clear beforehand!  I am happy with the built in things but I am a little disappointed in finding out some of the features that I wanted to use, such as in browser editing might not even be available at all as long as I use MUSE.  Managing customers using secure zones, and some other page level sign in forms seem to be not available also
    Is this correct, if so what other limits can I expect?

    People do fumble their way through going into the BC developer code editor online to do layouts etc and then to Muse and back but Muse only covers basic modules and templates. Not all the tag's, layouts, tag features and the guts of what being a web developer/designer is.
    So you can go so far, but then you will hit a wall like everyone does with Muse.
    Muse is not designed to do everything out there to make a site, it Cant, those sorts of tools from frontpage to Muse can only take you so far.
    I can not just go build a house with the tools from the big depot. They may all do the job, but I do not have the knowledge or the plans to do so.

  • HT4759 according to the tech specs' required to use iClode it seems that Apple is ignoring it's promisses to the their valued costumers since 2001..I have to go to an Apple store and buy a new MacBook and iPhone..mm yeah right we are all swimming in cash

    according to the tech specs' required to use iClode it seems that Apple is ignoring it's promisses to their valued costumers since 2001..I have to go to an Apple store and buy a new MacBook and iPhone..mm yeah right we are all swimming in cash. On June Apple had promissed it's old valued costumers that they can continue to access their Mac mail accounts via a browser. But hey ! why keep promisses. Now you need to purchase all the latest gadgets to use y'r Mac mail-iCloud. MOVING TO GMAIL !

    If you had a MobileMe account, and provided you migrated it to iCloud before 1 August, you can access your email at http://icloud.com on any modern browser. 10.7.2 minimum and iOS5 or 6 are required for the devices to use iCloud syncing and other facilities.
    If you have Tiger, Leopard or Snow Leopard you can set Mail up manually to access the email on an existing iCloud account:
    Entering iCloud email settings manually in Snow Leopard or Leopard
    Entering iCloud email settings manually in Tiger

  • My daughter is using old round airport at college. I set it up without protection. I have an old iBook and I understand I can use that to set the passsword. But I can't seem to figure out where I can set the it?

    My daughter is using old round airport at college. I set it up originally without password protection because my macbook was too new to recognize the old style airport. I have an old iBook and I understand I can use that to set the passsword. But I can't seem to figure out even using the  Airport admin how to establish a password.  Any suggestions?  Thanks.

    If it even has that built-in, you would configure it using Airport Utility. It would likely be in the Wireless configuration for first turning on security and then setting the required password. For Macs you should use WPA Personal if the option is present.

  • Hello, I just got an iPhone 4S and it seems that the bluetooth function in it doesn't work. I tried few times to pair it to other non Apple phones and it never worked. Does anyone has an idea how to solve the problem? Tks.

    Hello, I just got an iPhone 4S and it seems that the bluetooth function in it doesn't work. I tried few times to pair it to other non Apple phones but it never worked. Does anyone has an idea how to solve the problem? Tks.

    This is not a feature of iPhone, iPad or iOS.
    Bluetooth is supported for stereo headsets/speakers, handsfree telephone
    devices/headsets, some keyboards, some peer-to-peer apps from the
    app store and internet tethering where provided by the carrier.
    Other than this it will not connect to a phone/computer/device.  (thanks to ckuan for the wording)

  • Hi, I have moved to India from france and I am trying to update my payment options to the Indian visa card but it seems that no matter what I do I cant do it. I dont want to create a new ID..Plz Help!!!Just want to change my location and my payment detail

    Hi, I have moved to India from france and I am trying to update my payment options to the Indian visa card but it seems that no matter what I do I cant do it. I dont want to create a new ID..Plz Help!!!Just want to change my location and my payment details!! thanks in advance!!

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then seeRecover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • Do not seem to be able to backup iPad via iTunes on to my PC. Message after connecting is "iTunes was unable to load class information from Sync Services, Reconnect or try later"  Have tried that but get the same result. Can anyone assist?

    Do not seem to be able to backup iPad via iTunes on to my PC.
    Message after connecting is "iTunes was unable to load class information from Sync Services, Reconnect or try later" 
    Have tried that but get the same result.
    Remedies I've tried are:
    wait and try again
    reboot
    reload iTunes
    NB hp is a relatively new machine and has previously backed up quite happily.
    Can anyone assist?

    RHoodnkt-
    Try rebooting the iPad.  Hold down both the Home and Sleep buttons for several seconds until the Apple logo appears.  Ignore the "Slide to power off" arrow.  It takes a minute or two to restart.
    Also be sure your iPad battery is not completely discharged.
    Fred

  • Are there any provisions in place for overseas military not able to buy direct from Apple Store to get an option of a track pad instead of magic mouse when buying a new iMac? It seems that the new OS is going to NEED trackpad and magic mouse will moot

    I AM A PASSIONATE APPLE USER. Please don't get me wrong. I love every Apple product we have. I am just a bit discouraged that as a person living and working overseas, I do not have the same opportunity to build my Mac to my specifications. I am bound to buying the products through the Exchange. I appreciate that they are carried but when I compare to the Store, I am discouraged that there are some FREE options offered to Stateside folks not offered to AAFES/Exchange consumers. I want a track pad instead of a mouse. It seems that is where Mac technology is headed. Lion will all but REQUIRE it for many of the new features coming! Apple should offer new purchasers the opportunity for a free upgrade to a track pad!

    You can provide feedback >  Apple - Feedback

  • On update to 13.1, my catalog only shows what was on the camera that was connected.  Where did the rest of my (thousands of) pictures go?

    After installing an upgrade from Elements 11 (it would no longer open, even with uninstall and re-installation) to Elements 13, everything was working great.  Today I did an update to Elements 13.1, and all that appears in mu catalog are pictures from the camera that was connected at the time of the update.  Because I have a small-ish SSD for my OS (Windows 7), the program is installed on the E drive.  The Catalog Manager shows only a single catalog, but I have no idea where it is located, nor where to begin to look for an older catalog file that might be somewhere else.  How do I find and recover my old catalog file?

    juanm66274179 a écrit:
    I found the catalog file in my C drive (207mb) with a modified date of today.  Can I move the file to another drive?  The fact that it is 207mb would indicate that everything should be there- correct?  I have 200+ gigs of pictures and 800+ gigs of video.
    That seems to be the right folder. You can move or copy the whole folder elsewhere and use the catalog manager to browse to the new location. Alternatively, once the new catalog is moved, you can open the Organizer with it by double clicking on the 'catalog.pse13db' file.
    Is there something that changed in the view options to where I am having trouble selecting a "view all" option?  All of the folders are listed in the folder view, but my "people" view is now blank.  How do I get all folders to be viewed in the "all media" section instead of just my last import?
    I have no clue about the 'people' view (I don't use it). By default, only the last import batch is shown. You have a 'sort order' menu on the left of the third line. Choose another sort order. If you are not shown 'All media', you should have a button (arrow shape pointing to the left) on the left of the third line.

Maybe you are looking for

  • Setting output length of desired values for a Field in Smartforms.

    Hi,    I'm working right now on 4.6c system and I have a field declared as "String" in the Global Definition, on viewing the output in the print preview i find that it is printing only 255 characters while the actual field value is more than that (so

  • GL Interface status code of "P"

    I noticed that on our GL_INTERFACE table several records which had the status code of "P" instead of "NEW". Since we have no Oracle documentation (especially the Techinical Reference Manuals),does anybody know or can find out what that code means? No

  • Can I purchase in the UK store with a US account?

    Okay, I believe in purchasing and supporting the artist whenever possible, but what do you do when you have a US account and the artist/song you want is only in the UK store?

  • PDK Sample

    I have been trying to get the PDK Java Framework Sample to work, but I get the following message when I try to bring it up via: http://myserver.mydomain.com:port/servlets/sample Error! javax.servlet.ServletException: Unable to initialize new provider

  • Mass storage transfer speeds and 4GB SDHC card

    I got a new 4GB SanDisk Micro SDHC to use with my Nokia N95. The transfer times using USB mass storage are horrific (USB 1.0 or worse I think). For example, it takes 9 minutes to delete 280MB worth of maps off the card. Another example is scanning fo