How to get out this report format?

Hello to all the experts,

Table similar to the following sample creations. Note checkno under xcheck table is not unique. Have tried pivotting xcheck table, then xcechk link rotated with xcert using certno and invno but this end of willl get duplicate records. Can U please help? Basically, I'm stuck on the way out this name of seller on the report

create table xcert)
certseq number primary key,
Certno varchar2 (5) not null,
VARCHAR2 (25)) of the seller;

create table xcheck)
checkseq number primary key,
checkno varchar2 (8) not null,
invno varchar2 (100);

Xcert data
certseq certno     vendor
1     C1001     BP GAS
2     C1002     BUG PEST CONTROL
3     C1003     BP GAS
4     C1004     BP GAS
5     C1005     WILLIES BEST
xcheck data
checkseq     checkno          invno
1          EF500001     C1001,C1003,C1004
2          EF500002     C1002
3          EF500002     C1005
Looking for a next report format
checkno          invno               vendor
EF500001     C1001,C1003,C1004     BP GAS
EF500002     C1002               BUG PEST CONTROL
EF500002     C1005               WILLIES BEST 
Thank you

Munshar

MunSharmi wrote:

Maybe I don't understand the concept here.

WITH, aka the subquery factoring clause is used to create one or more tables on the fly. If I create a table in my database for each question, I answer... Anyway, all you need is to launch:

select  distinct checkno,
                 invno,
                 vendor
  from  xcheck,
        xcert
  where ',' || invno || ',' like '%,' || certno || ',%'
/ 

SY.

Tags: Database

Similar Questions

  • How to get out this error code for recover my drive? __ !! Oxc0000056! 1263/89929 (shacct.dll)

    I keep trying to restart and restart my computer, but it continues to blink and I can't get past this screen to get to windows? What can I do?

    Hello

    Try the following steps:

    Step 1:
    I suggest to start in safe mode with command prompt and run the disk check. This application scans your hard drives for errors such as lost areas.
    bad sectors and corruption.

    Follow these steps:
    a. start in the early startup options menu.
    b. Select safe mode with command prompt.
    c. Enter the following command and press ENTER:
    CHKDSK C:/F/R

    Step 2:
    perform a startup repair in the system recovery options. Startup Repair will replace the missing or damaged system files that might preventWindows to start properly.

    Check out these links for help:

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-fix-a-boot-startup-problem

    http://Windows.Microsoft.com/en-us/Windows-Vista/startup-repair-frequently-asked-questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/make-system-repairs-from-the-Windows-recovery-environment-from-Windows-Vista-inside-out

    Kind regards
    Afzal Taher-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to get out this system?

    Talk about a tyrant!  After reading the conditions I tried to refuse but so much time I clicked 'decline' he kept coming back and I couldn't get to my email address not even after I turned my computer market.  How does a DECLINE?

    We have no idea what you're doing, with what, when you see all this msg 'decline '.

    And if you refer to the enamel, because win7 contains no email app, what do you use for email?

  • How to get out this update failed / cannot remove the circle Reader? Because the update did not finish but remains on hold I can't remove and re-install Acrobat Reader.

    That's where it stops. Restart the update only makes it fail again in the same place. Does not retrieve files from the Web site again.

    Assuming you're on Windows, you can try to use this tool first remove all traces of your computer:

    http://labs.Adobe.com/downloads/acrobatcleaner.html

    Then you can download the complete player offline installer from

    http://get.Adobe.com/reader/Enterprise/

    After downloading, restart your computer and run the Setup program before anything else.

  • I have a wireless optical mouse and I can't remove the usb of my laptop Gateway receiver. It is stuck there. How to get out?

    I have a wireless optical mouse and I can't remove the usb of my laptop Gateway receiver. It is stuck there. How to get out?

    Hello

    The unit just has USB slide out. If it is stuck, consult with a real computer store (the one that makes
    his own service in the House and not leeks and glances at a Best Buy or other stores) or gateway
    supported.

    Gateway drivers and downloads
    http://support.gateway.com/support/drivers/dlcenter.asp

    Technical support Gateway
    http://support.gateway.com/support/?cmpid=topNav

    Door Documents
    http://support.gateway.com/support/SUPINFO/index.asp?cmpid=topNav

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to get out computer safemode?

    How to get out computer safemode, troubleshooting says to many programs open in the start menu

    Hi kristi,.

    First of all, to deal with the programs at startup, click on start / all programs / accessories / run and type msconfig.exe, and then enter.  Go to the Startup tab and uncheck everything what you don't need from start (most is not necessary, but simply useful, but if not checked periodically it can accumulate over time).  You need your antimalware program and virtually all the rest of the list is optional (but some may be required for your system, so be a little careful, but if you uncheck something you really need and find out later, you can always go back and check again isn't a big concern). This only in the start, for now tab.  Click OK when finished.

    Now, to go out to start in safe mode, while remaining in msconfig, go to the Startup tab and uncheck the box Mode safe if it is checked.  If this isn't the case, then what you deleted should if all goes well do the trick.  When I did that the first time, I have removed more than 90% of what was there and there was no effect on me whatsoever - and not only the startup and shutdown to happen more quickly, but my computer run faster while working as well and the Task Manager showed a dramatic drop in CPU utilization and memory.

    Restart now.

    When you first restart, you get a screen asking you how you want to start.  Choose the Normal Boot or Normal Mode or something like that, said like that (NOT Mode without failure or something).  You need to start normally and this should solve the problem.

    If this does not work, then come back and tell me your exact version of Windows (32-bit Vista Business SP2 - and Yes, much more in detail) and we will try a clean boot troubleshooting procedure to try to find the culprits causing the problem - but I hope it won't be necessary.

    I hope this helps.

    Good luck!

  • How to get out of the UiApplication?

    Hello!

    Can u tell me pls, how to get out of the UiApplication. The deactivate method is sufficient for this.

    PLS, suggest me-

    System.Exit (0). Or close the last screen and call the application itself.

    Disable does something different:
    public void deactivate()
    Handles finishing event.

    The system calls this method when sending of this request in the background. By default, this method does nothing. Override this method to perform additional when processing sent in the background.

  • How to get out with renaming a file every time that I change it?

    How to get out with renaming a file every time that I change it?

    Since the last update, I have more the possibility to combine files. How can I recover this feature

    10 pro version

    For the first issue: disable the preview pane in Windows Explorer.

    Wednesday, July 15, 2015 to 18:46, keithf52379832 [email protected]>

  • Is there a way to re set Lightroom to the original settings, I've been playing with it and got somewhere that I don't know how to get out of... not particularly computer savvu

    Is there a way to re set Lightroom to the original settings, I was playing with it and has gotten, somewhere, I don't know how to get out of. Not very computer savvy

    For starters, stop Lightroom

    On Windows, do the following

    Click the Windows Start button and in the search box type: -.

    %AppData%\adobe\lightroom

    Then press Return\Enter

    This will take you to the folder Lightroom (see image below)

    Select the Preferences folder and click on delete to send it to the Recycle Bin.

    Close the Lightroom folder, and re-start the Lightroom program.

  • Yahoo mail and yahoo Web sites not be loading not on safari April 10, 2916. How to get around this problem? Œuvres of chrome! What is the future of mac?

    Yahoo mail and yahoo Web sites not to load not on safari as of April 10, 2016. How to get around this problem? Œuvres of chrome! What is the future of mac?

    Could be a cookie problem...

    In your Safari menu bar, click Safari > Preferences then select the Privacy tab, then click on: Remove all data from the Web site

    If this does not help, you can have this Yahoo pages preventing to open a Safari extension or third party plugin installed.

    In the Safari menu, click Safari > Preferences , and select the tab ' Extensions '. If there are installed extensions, one at a time uninstall and exit then restart Safari to test.

    If it is not a question of extensions, try troubleshooting third-party plug-ins.

    Back to Safari > Preferences. This time select the tab Security Deselect: plug-ins Allow. Quit and restart Safari to test.

    If it makes a difference, the instructions of troubleshooting plugins here.

  • I have a new laptop and I am a newbie on the laptop. I inserted a cd but now how to get out? Of course it is obvious on the desktop what do, but not on laptop.

    I have a new laptop and I am a newbie on the laptop. I inserted a cd but now how to get out? Of course it is obvious on the desktop what do, but not on laptop.

    Well, no, actually, I talked to someone at Microsoft and he discovered for me. The answer is the keyboard on the top right of my keyboard and the third button on the end. Worked like magic.     Thanks again!

  • How to get out the mode safe mode with msconfig.

    I'm working on my computer and need to start in safe mode. I ran the msconfig and reboot the laptop. I get to the login screen, but when I get my username and password it tells me that the user name and password is not correct. How to get out the mode safe mode with msconfig.

    When you run msconfig to get set to Safe Mode, you just activate/check the option/SafeBoot at startup. INI tab or did you do something else?

    There is some malware that if you use the/SafeBoot option, you will not be able to use your system again until you remove the switch/SafeBoot the boot.ini for you can boot normally.

    Maybe it's not your exact problem, but I will never suggest to anyone to use the option / SafeBoot never again - too risky when troubleshooting since you can always start new or will never connect again until you remove the switch/SafeBoot.

    Anywho, if that's what you have done, you can start in the XP Recovery Console and then either make a new boot.ini file containing the switch/SafeBoot or simply rename the boot.ini file, you have something like boot.ini.old if you don't have a boot.ini file (I know it seems like a weird idea).

    In a single partition configuration, XP is not even a file boot.ini to boot.  XP will complain if there is no boot.ini file, but will always start very well without one (non-believers - try it!).

    After you get booted up and logged in, you can rename boot.ini.old in boot.ini and run msconfig to remove the option/SafeBoot, and never use it again.

  • I had a virus that says that the FBI caught me downloaded inlegal stuff a fine of 72 hours or there would be charges pressed against me and I don't know how it get out!

    I had a virus that says that the FBI caught me downloaded inlegal stuff a fine of 72 hours or there would be charges pressed against me and I don't know how it get out!  Whenever I turn on my computer it pops up and I can't do anything! Sometimes I can go and get online! If anyone knows how to remove it please help me!

    What you are investigating your pc with?  What anti virus?

    Some malware knows how to avoid the standard as applications McAffee, Norton and Kaspersky, Avast.

    To be absolutely sure, you may have to reset it to the factory or clean install.  Make sure that you have a backup first.

  • Hide: I went to my documents and I had this issue, and I clicked on something that is called HIDE and I don't know how to get to this file now!

    I went to my documents and I had this issue, and I clicked on something that is called HIDE and I don't know how to get to this file now! Anyone know where are the hidden files?

    Go to start / Control Panel / folder Options / view and check the box to show the hidden files and folders and uncheck to hide extensions of known file types.  Only the first is required for this problem, but the other may be useful later and you might as well do it while you're already here.

    Now, you will be able to see the folder.  It will be in the same place, it has always been (it has not been assigned) - it was just hidden and now that you can see hidden files and folders you can see again.  You may notice that it deteriorated a little bit lighter that other records - it is a sign that it is a hidden file or folder.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • cartridges won't come out, says paper jam, how to get out of cartridges without killing printer.?

    cartridges aren't coming out,

    says paper jam, no paper in the printer,

    How to get out the cartridges without killing printer.?

    I did the thing video together 3 times and still won't come out? I'll call hp remote and hope they can fix it thank you

Maybe you are looking for