Query to retrieve the latest version

Hello
I am trying to create a query that retrieves the latetst of a product version. There are 2 tables I have mark from, we have the product number and we got the version - a varchar2 data type (60). Are versions A, B, c... etc. So, I want to give me a line for each product with its latest version of the application. It's the query I have so far


SELECT A0. Prod_num, A0.version
FROM (SELECT A0B. Prod_num, A0.version
Of tb_1 A0, tb_2 A0B
WHERE (A0.tb_1pk = A0B.tb_2pk)) A0
ranking by A0. Prod_num

Returns duplicate versions and product lines.

Thank you.

Without seeing sample data...

SELECT A0B. Prod_num,
Max (a0.version)
Of tb_1 A0, tb_2 A0B
WHERE (A0.tb_1pk = A0B.tb_2pk)
AO8.prod_num GROUP;

Tags: Database

Similar Questions

  • Cannot install Flash Builder 4; Failed to retrieve the latest versions

    I am Windows 7 64 bit on a network where my Documents and my office are related to a roaming profile are applied where the quotas for the use of space. I was unable to install Flash Builder 4 because of this issue, which Adobe is known and apparently corrected (thanks, Chris A.).

    However, I can't even extract Burrito or the FB4.5 draft because the installation exe retrieved automatically on the desktop. Under 4.0, I could change the extraction location.

    Is there a way around this problem?

    Thank you

    Ron

    @Ron - Thanks for letting us know. I'm surprised that anyone encountered this limitation before today.

    Fortunately, there is a solution:

    -Open a command window and cd to the location of the downloaded self-extracting exe file

    -Run the exe with the/d (destination) option, which allows you to adapt the path where the installation program is extracted.

    In my case, the chain of syntax full looked this way:

    FlashBuilder_4_5_LS10.exe /d c:\customExtractionFolder

    -Chris

  • I installed the latest version of Norton Internet Security (2013. I received the error message. Symantec's Service infrastructure has encountered a problem and needs to close.

    I am running XP Home Edition and have used the Norton Internet Security software for years.  Support includes an update of the software each year when they are available.  I received a message that the latest version of the software was ready to install.  Well, I installed the latest version and unfortuantely, I continuely receive the following error message...

    Symantec's Service infrastructure has encountered a problem and needs to close.  Contact Microsoft to resolve.

    Is there someone out there who has experienced this error that might be able to help?

    Confused and frustrated.

    Hello

    Thanks for posting on Microsoft Community. I understand that you receive an error message after update Norton Internet Security on the Windows XP computer.

    I apologies for the inconvenience and I it's frustrating if things do not work as expected. However no need to worry I'll be more than happy to help you.

    Please help me with the little information.

    (1) what is the exact full error message?
    (2) is it a paid version?

    Is it that you use not paid version, you can use this link to delete and reinstall Norton Internet Security.

    https://www-secure.Symantec.com/Norton-support/JSP/help-solutions.jsp?version=1&product=home&LG=English&CT=United_States&docid=kb20080710133834EN_EndUserProfile_en_us&PVID=f-home

    You can meet with the screen shot to help you better.

    Reference: how i: post a screen shot on this forum?
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/how-do-i-post-a-screen-shot-on-this-forum/c86de820-C620-401c-A804-9f6337cd3053

    Until you, you can also post the your query in the Forums of the Norton Support to improve assistance.
    http://community.Norton.com/

    Response with more information to help you.

  • Impossible to install the latest version of Flash Player for FF in my Vista system

    Something really weird just happened.  I found that Foxfire had disabled my Flash drive 19,

    declaring that it was obsolete and dangerous.


    I went to the Adobe site and downloaded the installation to the latest version, the name of the file

    is flashplayer20_a_install.exe with a file size of 1,163 MB.


    But when I double-click the file, nothing happens.  I expect to have the popup with the

    query to run the file, but I got nothing.  I opened the Windows Task Manager and saw no.

    registration in the tab "Applications" of the installation routine, which means that it does not work.


    I thought that maybe the presence of FP19 could be a problem, so I uninstalled.  Could still

    do not run the installation of FP20.  So I deleted the installer downloaded from another Web site.

    and this program was called flashplayer20_ha_install.exe.  Before running it, I restarted my

    computer to reset everything.  I double-clicked it and still nothing.


    Rummaging in my downloads folder, I found an old Installer for public Service 16.  I clicked on

    on the subject and was able to install Flash Player 16.  Moreover, the size of the file for this install program

    has been 17.7 MB, which is 17 times larger than installers for FP20.  With FP16 still

    Currently, I again tried to install FP20 with futile results.


    So that these courses install programs seem suspicious.  Can anyone shed some light on what's going on?


    If adobe uses installers of heel, which means that it is a small program that goes out and gets the program. The reason for this is the download page; This page contains an option McAfee Installer, this is the reason for which they use the heels in this way, it allows them to combine this extra bloatware.

    There are a few options for you to do:

    (1) perform a manual uninstall completely and re-install the kind of pain.

    (2) a clean install, if things do not seem to work, even more pain.

    (3) use a scripted uninstall, clean and re-install

    To uninstall, you get the file to uninstall here:

    http://download.Macromedia.com/Get/flashplayer/current/support/uninstall_flash_player.exe

    Right click and run as administrator

    You must then two files 1 is for Internet Explore flash and one for your Firefox Flash Player

    Right click and run as administrator

    If these files do not run for some reason, try a reboot and run, if they don't work out even while you might have a problem with your system, Antivirus preventing you, or a piece of malware or viruses.

    IF the manual installation does not try to go here: Adobe Flash update - version /BAT browse at SourceForge.net

    Download the downloadFlash_XPandUP.cmd file. (you can right-click and change to display the content.) Basically, this file will be doing the uninstall and clean install of your versions of plash player for you. Again, do a right click and run as administrator.

    Judging by the fact that you were able to install the older flash player; who is installing real reall not the heel seems to indicate something blocks the execution of the stub programs.

    I hope that gives you some advice

    Best regards

  • How to find the latest version of material available for a virtual computer

    Hi, I have a problem to upgrade the hardware of the VMS version.

    My $vm = Vim::find_entity_view (view_type = > 'VirtualMachine', filter = > {'name' = > $vm_name});

    $vm-> UpgradeVM();

    Call to the UpgradeVM method I sometimes get an error saying: compatibility of the virtual machine is already up to date

    I can get the latest version of hardware verification $vm - > config-> version, but I don't know whether it is the latest version of material available. How can I find out who is the latest material available for a virtual machine before you upgrade?

    Thanks in advance.

    You can retrieve the list of configurations of operating systems, virtual material, supported, capabilities, etc. using the http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.EnvironmentBrowser.html EnvironmentalBrowser

    For the version of VTM, take a look at the QueryConfigOptionDescriptor() that returns a list of the ESXi hosts and VTM version, he takes in charge. Joint a screenshot using the vSphere MOB

  • Install the latest version of Oracle Enterprise Manager Cloud control 12 c

    Hello
    We want to install the latest version of Oracle Enterprise Manager Cloud control 12 c in Linux x 86-64 (64-bit) platform. Oracle Web site
    link http://www.oracle.com/technetwork/oem/grid-control/downloads/index.html we found 12.1.0.2 is the latest version.

    My query is-

    is 12.1.0.2 version is the latest version for the control of cloud?
    If we install 12.1.0.2, is there a patch to be applied after update install the latest version?

    Thank you

    As mentioned Rob you should also check My Oracle Support for the recommended patches. Go to patches and updates | Search patch | Research | Recommended Patch advise and serve 'Business Manager Base platform - WHO' the product. You can use this to get a list of the patches to be applied.

    Best regards, Marc.

  • to get the latest version of particular platform

    Hello

    I have a table that contains columns such as a column contains the name of the platform and the published versions.
    as linux-> 11.1.0.6.0, linux-> 10.2.0.5.0, etc. Here it comes:-versions can be 11.2 or 9.2.0.1.50

    Please, can you help me with any sql procedure that can get versions and format in the appropriate format
    and get the latest version for this platform.

    1 11.1.0.6.0 - > convert to 2 digits - > 11.01.06.00
    2. 11.2-> complete version correct as - > 11.2.0.0.0 (by adding zeros) - > 11.02.00.00.00
    3 9.2.0.1.50-> convert to 2 digits-> 09.02.00.01.50


    Out now final, we can cut '. ' and compare numerically... like 11010600 with 1102000000 with 0902000150
    No. 2 is bigger, so we can only refer to current selected platfrom.

    Or any other simple application?

    Thank you
    DVS!

    Try this sql query.

    with test
    as
    (
    select '11.1.0.6.0' col1 from dual union all
          select '11.2'from dual union all
          select '9.2.0.1.50' from dual
    )
    select col1,version, replace(version,'.')
    from (
    select col1, nvl(lpad(substr(col1||'.',1,instr(col1||'.','.',1,1)-1),2,'0'),'00')||'.'||
                     nvl(lpad(substr(col1||'.',instr(col1||'.','.',1,1)+1,instr(col1||'.','.',1,2)-instr(col1||'.','.',1,1)-1),2,'0'),'00')||'.'||
                     nvl(lpad(substr(col1||'.',instr(col1||'.','.',1,2)+1,instr(col1||'.','.',1,3)-instr(col1||'.','.',1,2)-1),2,'0'),'00')||'.'||
                     nvl(lpad(substr(col1||'.',instr(col1||'.','.',1,3)+1,instr(col1||'.','.',1,4)-instr(col1||'.','.',1,3)-1),2,'0'),'00')||'.'||
                     nvl(lpad(substr(col1||'.',instr(col1||'.','.',1,4)+1,instr(col1||'.','.',1,5)-instr(col1||'.','.',1,4)-1),2,'0'),'00') version
    from test)
    /
    
    COL1       VERSION        REPLACE(VERSIO
    ---------- -------------- --------------
    11.1.0.6.0 11.01.00.06.00 1101000600
    11.2       11.02.00.00.00 1102000000
    9.2.0.1.50 09.02.00.01.50 0902000150
    
  • To restore the backup of information to my new iPhone 7, I had to update iTunes.  I did it on my computer, but when I plug my phone into the computer, it tells me that I need the latest version of iTunes.  What should I do?

    I downloaded the latest version of iTunes to restore the backup of my new iPhone 7.  When I plug my computer into iPhone 7, I get the message that I need to update iTunes.  It is to show that I have updated the latest version, so I now do not know what to do.  Need help!

    In iTunes, go to the ' about iTunes' topic. What version do you currently use?

    What version of OS are you using on your computer?

    Your new phone should you use iTunes 12.5.1 requiring 10.9.5 OSX or higher.

  • I downloaded the latest version of iTunes on my book Mac pro at the end of 2013.  Where is siri?

    I downloaded the latest version of iTunes on my book Mac pro at the end of 2013.  Where is siri?

    "the ability to play music using Siri when macOS Sierra launches this month ncluding"

  • Play 'For You' selections is sending me to 'Browse' in the latest version of iTunes

    Anyone having problems with the latest version of iTunes (12.5.1.21) when trying to play selections of "For You" and sent to "Browse"?

    And then nothing. Same problem here. I just can't get anything to play on 12.5.1.

  • How can I switch from Lion 10.7.5 (safe download) to the latest version of Mountain Lion

    Where (risk free) download the Lion 10.7.5 upgrade to the latest version of Mountain Lion?

    http://store.Apple.com/us/product/D6377Z/A/OS-x-mountain-lion

  • I can't change the length in the latest version of iMovie

    I use the latest version of iMovie, and I can't find out where to change the duration of the photos in my film.  I see an icon that looks like a timer, but it does not activate when I click on it.  Anyone know what I am doing wrong?  Thank you.

    My problem was solved.

  • Where can I find the latest version of the software to download on my iPod Classic 160 GB end of 2009?

    Where can I find to download the latest version of the software for my iPod Classic (160GB end 2009)?

    I'm still enough of a novice at this and would like to, if possible, a detailed response. Really appreciate it.

    Thank you

    Mando

    Click here and follow the instructions. The entire process is managed within iTunes. you don't need to search for the download.

    (144457)

  • should I remove imovie9 before upgrading to the latest version

    I need to upgrade to the latest version of iMovie as 9 does not respond with El Capitan.

    I completely remove 9B before doing this?

    Hello

    No, you don't need to delete iM9 before moving on to iMovie 10.1.2 (latest version).   Both versions may remain on your computer.   iM10.1.2 allows you to update your projects iM9 and events so that they will play on the new version.   So that's why you would leave iM9 on your computer, so that you can make the update.

    Best,

    Rich

  • iPad will not download the latest version and does not save my iPad even if I bought more space.

    Trying to free up space and to download the latest version. Space in iCloud bought, but not backup. What I am doing wrong, like friends for help.

    What happens when you try to back up your device? You see an error message? The iCloud backup device free space on the device. You need to remove content on the iPad itself.

    What happens when you try to download the latest iOS?

Maybe you are looking for