Words similarities

Hi,
Please help me in how ca i retrieve data.
i have table consist from two columns one called words and another column for
documents. So the column words show words that in specific documents
and column DOC show the document number of that contain that words.
example
aden found in three documents 1,4 and 6 . and cairo in document 5 and 6 and so on.
i want to retrieve orderly the documents that has similarities.
Words     Doc
aden     1
aden     4
aden     6
cairo     5
cairo     6
Maklla     7
Yemen     1
Yemen     5
Yemen     6
So, in given data we can see document no 1 and 6 is similarly because it's contain
Aden 1
Aden 6
Yemen 1
Yemen 6
That mean word of Yemen and Aden is found in two documents (1,6).
Aden 1
Aden 6
Yemen 1
Yemen 6

Take a look at this scenario (no Database version provided from your side and no Database available on my side)
for (some data added to that of yours just to have more than two common names)
aden     1
aden     4
aden     6
cairo     5
cairo     6
Maklla     7
Yemen     1
Yemen     5
Yemen     6
Kuwait  1
Kuwait  6
Kuwait  7Solomon's solution should provide you with something like
1 aden  Yemen
6 aden  Yemen
5 cairo Yemen
6 cairo Yemen
1 aden  Kuwait
6 aden  Kuwaityou could pivot that into
aden  Yemen  1 6
aden  Kuwait 1 6
cairo Yemen  5 6unpivot the previous result
1 6 aden
1 6 Yemen
1 6 aden
1 6 Kuwait
5 6 cairo
5 6 Yemeneliminate duplicates
1 6 aden
1 6 Yemen
1 6 Kuwait
5 6 cairo
5 6 Yemenand maybe aggregate
1 6 aden,Yemen,Kuwait
5 6 cairo,YemenThis forum (see FAQ) is full of examples about how to deal with the steps above (if you re 11g you can search the documentation at http://tahiti.oracle.com for pivot, unpivot and listagg for versions below 11g there are string aggregation, rows to columns, columns to rows to be searched http://www.sqlsnippets.com/en/home.html

Similar Messages

  • How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    You can certainly use iWork, though I hesitate to recommend it to a seasoned Windows user simply because it would add another level of the unfamiliar with which you would have to gain familiarity. The iWork applications are certainly very competent and in most respects both easy to use and surprisingly powerful. They are not 100% compatible however, though that typically manifests itself in document formatting issues rather than anything more significant.
    I have never attempted to import emails from a Windows system into MacOS - other than in Outlook connected to an Exchange server, thus not really an issue at all. I doubt that the Mail app in MacOS can import directly, but of course you could always set the account(s) up on the Mac and then forward emails you want to keep from the PC. Not elegant, but it works. Virtually any Windows document or file, whichever application created it, can be opened or converted for use on a Mac, and using both systems on my desk each day I rarely see any issues switching stuff from one machine to the other. You may stumble over one or two issues, but likely not significant.
    In switching platforms there will be some inevitable issues, not so much with being able to import your stuff because there's usually a workaround or a utility that can help, but just with getting familiar with the platform and the differences between Windows and MacOS that can obscure their similarities. From time to time the support community here hears from a user who has found the migration very problematic and regrets it, but for the most part the phrase 'I should have done this years ago...' is rather more prevalent!

  • Word Add in disappears after computer restart

    We are using Office 2007. The BI publisher word tab add in disappears after reboot. When we try to re-install the control panel has the option to repair which indicates that it is still installed. Any ideas on what causes this? Thanks.

    #2 - No, the other add-ins stay, it's just this one.
    Just to clarify my original question - wasn't asking if the other addins stay but specifically if the machine in question is "identical" in terms of what is installed etc
    There is a known issue where Outlook addins will get disabled if the addin exceeds some Outlook load threshold time so if you have 5-6 other machines that work without any problems, logic would dictate that there is some difference (however subtle) between
    the machines that work and the one that doesn't. Have no idea personally what that might be (i.e. if everything else is supposedly the same, is the problem machine as fast as the others in terms of processing power & memory etc).  Not likely
    that this is first time the ZixCorp folks would have heard about it (mind you - there is a "first time" for everything for any issue reported to a company so the questions I've asked about similarities would also likely be asked by them.
    Karl Timmermans [Outlook MVP] "Outlook Contact Import/Export/Data Mgmt" http://www.contactgenie.com

  • What are the SIMILARITIES between iPhones and Android phones?

    I'm writing a compare and contrast essay on iPhone and Android products, but I'm having some trouble finding the similarities. I've Google-ed the crap out of this subject, and Google (for whatever reason) thinks the word "similarity" means "difference." I found about 2 small articles that slightly hint at some similarities, but nothing that allows me to draw a conclusion and write the other half of my essay. Can someone please help?
    -Dave

    Hey bigfrank69, we truly understand your concern with the excitement regarding the iPhone. Both phones have awesome features and fit the needs of different customers. Your Fascinate is an Android phone and has access to the thousands of Apps in the Droid Market place and the iPhone also has access to thousands of Apps in the Apple store. 
    To compare your phones, click here and select the phones you wish to compare. This will take you to a full page of comparisons so you will be able to view exactly what each device has to offer.
    Each customer is different and may have different needs for there wireless phone, which is the reason we provide many options to ensure you have the right device. Please do not hesitate to compare the different devices via our website.
    Please feel free to contact us regarding additional comparison questions. 
    Thanks,
    KinquanaH_VZW

  • Malicious or not? Message popped up: Mozilla security found (something like too much, forget exact word) activity on your computer so it will do a fast scan of system file. With OK button.

    I was looking at youtube.com, which always tells me my browser is not supported and recommends I download Firefox, but that is what I was using, so I went to Firefox to check for updates. (I think I also had freecycle.org open.) Then this message popped up in a new page: Mozilla security found (something like "too much", forget exact word) activity on your computer so it will do a fast scan of system file. There was an OK button. The page address was: http://update17.stegner.ce.ms/index.php?Q7Lhl9ShbRxGJXpkM1VLSi4ZE8H4pTedoVPySgeppM3VpC+thEspcFG7qxHgn1pdsC2h5ygPGWI3t5hXqMzL9EQaZZ3J1e3CKXgCb0Qp. I did not click OK but copied the link and closed the window which closed the internet. I have never seen this before and would like to know if it is really Mozilla or possibly something malicious. Thank you.

    Good catch. That almost certainly is an invitation to download malware.
    There are a lot of infected web sites pushing "fake antivirus" software. If you have any doubts about whether your system might have become infected, you can supplement your regular security software with these two highly regarded scanners:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/mbam.php
    SUPERAntiSpyware : http://www.superantispyware.com/

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

  • I can't use word because a box keeps popping up saying that it can't find the spell check files?

    I open Word and there is a pop-up message saying that word cannot start the spelling checker because the files may be missing and to make sure that the spell checker files are installed or use the Microsoft installer to install spell checker. I have never had this problem with Word before and spell check has always been fine. What should I do?

    Since word is made by Microsoft you should post your question on their own forums for their Mac software as Apple Communities only provide support for Apple products:
    http://www.officeformac.com/productforums

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • Report Generation MS-Word always give error

    Hi
    I am using LV 2012 and MS Office 2010.
    I am using report generation toolkit to have a customised output report.
    When I specify output format as excel, I am able to get the desired result but when I specify output format as word, it always throws an error. I checked running the NI examples meant to give output in word but they all fail while the excel reports are perfect.
    Please find attached an error code for one of the example Sample Report(word).vi
    Please suggest the solution.
    Regards,
    Manbir
    Attachments:
    error_doc.JPG ‏20 KB

    We need to see the code in order to say "Here is the error" or "Try doing it this way".  It also gives us something to try, ourselves.  Do you know how to make "snippets", which are .PNG "pictures" of your code that you can simply put into the message using Insert Image?  We can then drag this image into a LabVIEW Block Diagram, and voilà, working code!
    BS

  • Firefox, Microsoft word, iPhoto, and more won't open.

    Basically, everything except Safari and Photo Booth continuously refuse to open. I click on them, the icon bounces for a good minute or so, and then I get a pop-up window saying it closed unexpectedly. I don't know if this helps, but here's the detailed information...
    Process: Microsoft Word [1102]
    Path: /Applications/Microsoft Office 2008/Microsoft Word.app/Contents/MacOS/Microsoft Word
    Identifier: com.microsoft.Word
    Version: 12.2.2 (12.2.2)
    Build Info: Unknown-90817~0
    Code Type: X86 (Native)
    Parent Process: launchd [82]
    Date/Time: 2010-11-10 13:53:15.199 -0500
    OS Version: Mac OS X 10.6.3 (10D2084)
    Report Version: 6
    Interval Since Last Report: 872543 sec
    Crashes Since Last Report: 257
    Per-App Interval Since Last Report: 1347793 sec
    Per-App Crashes Since Last Report: 4
    Anonymous UUID: 892F90B7-FC3D-4E20-9C1A-521E0EAB9CB2
    I tried uninstalling and reinstalling firefox four times. After the last uninstall, I didn't even reinstall it. Safari is extremely slow on my computer, and YouTube refuses to work, as well. What should I do?

    Welcome to Apple Discussions!
    The first thing to try is to repair your hard drive. Boot from your install disc, choose your language, and then navigate to Disk Utility from the menu bar. Go to the First Aid tab and select your hard drive and then "Repair Disk". Repair it until there is nothing left to repair.
    When done, you might want to update your software if you are still running 10.6.3--I believe that 10.6.5 is out now.
    Good luck!

  • My Microsoft Word gives me an error report as soon as I try to open Word Document

    I have the Microsoft Word for Mac 2011 and I've had it for almost 3 years now. I didn't have any problems until I decided to update it since I haven't done so when I installed Microsoft on my Macbook pro. After about 3 or 4 updates I started having difficulties when it suddenly gives me an error once I tried creating a new document that says: "Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience." and underneath it says More Information so I clicked on it and this is what it gave me:
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2015-02-16 05:22:55 +0000
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 14.2.0.120402
    Crashed Module Name: libobjc.A.dylib
    Crashed Module Version: unknown
    Crashed Module Offset: 0x000010a7
    Blame Module Name: Microsoft Word
    Blame Module Version: 14.2.0.120402
    Blame Module Offset: 0x0021002b
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0
    I clicked on check for updates just in case I missed any, but it says there's no updates available. Also, I restarted my computer twice and it still doesn't work. Did the updates messed it up? I really need to fix this problem soon because I'm going to need Word for school. Please and thank you!
    Edit: I'll be moving this question over the other forum, but can anyone at least solve this problem for me here?

    Microsoft Word is a Microsoft app. You should post your question to a Microsoft forum.
    Cheers,
    GB

  • When i click on an excel or word file in 2007 the program begins to open but then an error message says There was a problem sending the command to the program

    when i click on an excel or word file in 2007 the program begins to open but then an error message says There was a problem sending the command to the program.
    i am using office2007  with windows7 premium home edition.  i have checked file associations., all DDE settings. i have even tried this in safe mode. the same thing happens. please note once i see the error. i can then go back to the file click on
    it a second time and it WILL open. AND i can open any file if i open excel and and find the file from there. i uninstalled and re-installed office 2007 from scratch. And i checked the compatibility mode (all un-checked) still the problem persisits. this is
    a real PITA.   anyone have any solution for this? Thanks 
    ken yanow

    Hi,
    Have you try to un-select the Ignore other applications that use Dynamic Data Exchange (DDE) setting?
    Click the Microsoft Office Button, and then click Excel Options.
    Click Advanced, and then click to clear the Ignore other applications that use Dynamic Data Exchange (DDE)
    check box in the General area.
    Click OK.
    If the problem cannot resolve, the Run as administrator may selected.
    Go to Office default install location: C:\Program Files\Microsoft Office\Office12.
    Right-click EXCEL.EXE > Properties >
    Compatibility tab.
    Under Privilege Level, uncheck Run this program as an administrator
    check box.
    Best regards.
    William Zhou
    TechNet Community Support

  • Whenever I try to open Microsoft Word it doesn't open and shows me an error report!

    Whenever I try to open Microsoft Word it doesn't open and shows me an error report! I don't know what to do! Help!!!!
    This is the extra info that comes along with the error report:
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2013-08-30 16:41:14 -0400
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 14.1.0.110310
    Crashed Module Name: MBURibbon
    Crashed Module Version: 14.3.4.130416
    Crashed Module Offset: 0x000072f0
    Blame Module Name: MBURibbon
    Blame Module Version: 14.3.4.130416
    Blame Module Offset: 0x000072f0
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0
    What should I do??????

    It might be a good idea to also ask here:
    Office for Mac forums

  • How can I display Excel using Word VSTO Addin.

    Hi all.
    I am a beginner.
    And studying Word VSTO ribbon addins.
    I wrote very simple one (works charm );   
    Microsoft.Office.Interop.Word.Application  oAPP  =  Globals.ThisAddIn.Application;
    oAPP.Selection.InsertAfter( " Hello, Word !! " );        
    oAPP.Selection.Collapse();
    Now, I have to go on.
    I want to display "Hello, Excel !! " from the same addin (from the Word Addin)
    I tried to port the following VBA codes (into Word Addin);
        Set oEXCEL = CreateObject("Excel.Application")
        Set oWBOOK = oEXCEL.Workbooks.Add
        oWBOOK.ActiveSheet.Range("A1").Value = " Hello, Excel !! "
        oEXCEL.Visible = True
    I do not know how to start from the very beginning.
    I can not make "Application (for excel)" object at all.
    VS says, the "Application" is not for the Excel but for the Word.
    Yes, everybody know it. But, Excel has the same one too. So I tried to make casting. It never works.
    I added required reference(s).
    Wht do I have to do ?
    Is it impossible, naturally ?
    Regards

    Hello,
    The
    How to automate Microsoft Excel from Microsoft Visual C#.NET  article describes all the required steps for automating Excel from any other application.
    Anyway, the current forum is for VSTO specific questions. I'd suggest asking Excel or Word specific questions on the
    Excel for Developers or
    Word for Developers forums instead.

  • I downloaded mountain lion and then the new office suite (word, ppt, excel) but now when I try to display one of my ppt's it says 'ppt cannot open the file...the file may be corrupt, in use, not a type recognized by ppt etc.." how can I fix it?? HELP

    I downloaded mountain lion and then the new office suite (word, ppt, excel) but now when I try to display one of my ppt's it says 'ppt cannot open the file...the file may be corrupt, in use, not a type recognized by ppt etc.." how can I fix it?? HELP

    Did you try to open teh fle by double-clicking its icon? If the file was made with an older version of Office, you may get that message. Try opeing PP and, from its "File" menu, see if you can open the ppt. I've foundthat often gets around that message and then yo ucan save the file from the newer version.
    If that doesn't work, consider asking in the Microsoft Office: Mac forums here:
    Office for Mac forums
    PowerPoint is not an Apple product and it seems a lot of people around here avoid Office.

Maybe you are looking for