display only one instance if the value is repeated

HII everyone,

I have a requirement that I want to show the sequence of data

no name
1 a

1 b

1 c

d 2

2 e

3 f

3 g

3: 00



in this form


1 a

b

c

d 2

e

3 f

g

h

That is to say if the items are reeating then show their single instance
I'm using oracle 11g is possible to write this on sqlplus?


Thank you

Hello

810345 wrote:
I'm using oracle 11g is possible to write this on sqlplus?

SQL * more command is

BREAK   ON  no

After you give this command, if the first column in the output is called no., then SQL * more he will not show if it is the same as that on the line just above.

You may have noticed that this site noramlly compresses white space.
Whenever you post the text formatted (for example, the result of the query) on this site, type the 6 characters:

\

(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

Tags: Database

Similar Questions

  • How can I keep only one instance of the javafx application at the same time?

    Hello
    How can I keep only one instance of the javafx application at the same time?
    Let not the user run the javafx application is running on your PC.

    Hello. This program does what you want. You can probably find a better solution.

    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import java.io.FileNotFoundException;
    import java.io.*;
    import java.nio.channels.FileLock;
    import javafx.application.Platform;
    import javafx.stage.WindowEvent;
    
    public class Simpleapp extends Application {
    
        public static void main(String[] args) {
    
            launch(args);
        }
    
        @Override
        public void start(Stage primaryStage) throws Exception {
    
            final File file = new File("flag");
            final RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw");
            final FileLock fileLock = randomAccessFile.getChannel().tryLock();
    
            System.out.print(fileLock == null);
            if (fileLock == null) {
                Platform.exit();
            }
    
            primaryStage.setTitle("Hello World!");
            Button btn = new Button();
            btn.setText("Say 'Hello World'");
    
            StackPane root = new StackPane();
            root.getChildren().add(btn);
            primaryStage.setScene(new Scene(root, 300, 250));
    
            primaryStage.setOnCloseRequest(new EventHandler() {
    
                @Override
                public void handle(WindowEvent arg0) {
                    try {
                        fileLock.release();
                        randomAccessFile.close();
                        System.out.println("Closing");
                    } catch (Exception ex) {
                        System.out.print(ex.getMessage());
                    }
    
                }
            });
    
            primaryStage.show();
        }
    }
    
  • PatternRepository and only want only one instance of the application target to run

    That's what I'm doing:

    1 app is started manually from office.

    2 registered PatternRepository point for a regular expression (be great if it only applied to my application, do not know how to do this, however).

    3. If the RegEx showing in one of my ActiveRichTextFields, ApplicationMenuItem

    4 ApplicationMenuItem pushes screen on stack.

    I have most of this work except for step 4. creates a new instance of the application.

    public class VocabApp extends UiApplication {
    
        private static ApplicationMenuItem[] _menuItems = new ApplicationMenuItem[1];
        static VocabApp app;
    
        public VocabApp() {
            this.pushScreen(new DictionaryScreen());
        }
    
        public static void main(String[] args) {
    
            //we only want to register/run when started from desktop
            if(args == null || args.length == 0)
            {
                _menuItems[0] = DictionaryScreen.synonymItem;
                ApplicationDescriptor appDesc = new ApplicationDescriptor(ApplicationDescriptor.currentApplicationDescriptor(), new String[]{"pattern-recognized"});
                PatternRepository.addPattern(appDesc,"{[a-zA-z ]*}",PatternRepository.PATTERN_TYPE_REGULAR_EXPRESSION,_menuItems);
                app = new VocabApp();
                app.enterEventDispatcher();
            }
            //This block will execute when one of our application menu items is invoked.
            else if(args != null && args.length > 0 && args[0].equals("pattern-recognized"))
            {
                app = new VocabApp();
                app.enterEventDispatcher();
            }
        }
    }
    

    I know that the code works as it should, I'm trying to figure out what to do:

    //This block will execute when one of our application menu items is invoked.
            else if(args != null && args.length > 0 && args[0].equals("pattern-recognized"))
            {
                app = new VocabApp();
                app.enterEventDispatcher();
            }
    

    .. .to make sure only one instance of my application is running at a time.

    TIA,

    Matt

    Here, I'm a bit confused.

    Your comparison of menu templates you run your application with the arg: "recognized cause.  An application is distinguished by the descriptor and the args.  If different args is different Application.  So this initiates a new Application.

    But only once.  If you're still running, it does not start a new.

    With this information, can you describe your problem yet?

  • Windows Media Player displays only one album with the unknown artist.

    Original title: strange going ons

    When I go to my music using windows Explorer, it shows a folder named unknown artists with 7 subfolders.

    When I bring the windows media player, it displays only an album with an unknown artist.

    When I open one of these subfolders, writing the name of the artist, but all the tracks have been listed as track 1, track 2, track... in the library, that I went to this artist's album. He entered all the information correctly. When I clicked open the location of the file that shows the location of the albums as one of the subfolders under unknow artist and all tracks as track 1...

    so, how did we can list everything correctly in the library but point to incorrect information?

    Hello

    What are the file format of the files shown in the subfolders of the library?

    Follow these methods.

    Method 1: I suggest you follow these steps and check.

    You can try to clear the database of Windows Media Player.

    To do this, follow these steps:

    Step 1

    a. exit Windows Media Player.

    b. for Windows Vista: click Start, click run, type %LOCALAPPDATA%\Microsoft\Media Player , and then click OK.

    c. Select all files in the folder, and then click delete on the file menu.

    Note you don't have to remove the folders that are in this folder.

    d. restart Windows Media Player.

    Note Windows Media Player automatically rebuilds the database.

    Step 2

     If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:

    a. exit Windows Media Player.

    b. If you run Windows 7, click Start, click Run, type % LOCALAPPDATA%\Microsoft and then click OK.

    c. Select the folder Media Playerand then click delete on the file menu.

    d. restart Windows Media Player.

    Note Windows Media Player automatically rebuilds the database.

    Also note before performing the steps above, I suggest to save the songs and try the steps above.

    Method 2:

    If the steps above do not resolve the problem, you can try to disable Windows Media player and then enable the feature that is as good as the uninstall and put it back. Follow the steps below to do the same.

    To enable or disable the Window Media Player, follow these steps:

    a. click the Start button, select Control Panel, click programsand then click Windows turn on or off features. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    b. develop media features , uncheck the box next to the Media Player functionality to remove Media Player. Click OK and restart the computer.

    c. turn on the player again by selecting the check box next to the feature of Media Player.

    Access the link below for more information on the steps above to turn off or on the features of Windows 7.

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-features-on-or-off

    See also:

    The Windows Media Player library: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Media-Player-library-frequently-asked-questions

  • Only one instance of the same function call button?

    I have 4 instances of the same key on a single layer on a timeline of the "coverflow_mc" mc named 'ThatsMe_btn_a' to 'ThatsMe_btn_d' IE the same button, same position... He just changing the name of the instance on 4 key frames. Why he calls the function fine for button but not to b, c or d? There is a stop on each of these frameworks and I can see the SWF that it prevents the correct images.

    Picture 7.png

    function thatsMe() {}

    right = new Sound();

    right.attachSound ("right");

    right.start (0,1);

    trace (subTotal);

    }

    _root.coverflow_mc. ThatsMe_btn_a.onRelease = function() {}

    subtotal = 2

    thatsMe();

    };

    _root.coverflow_mc. ThatsMe_btn_b.onRelease = function() {}

    subtotal = 1

    thatsMe();

    };

    _root.coverflow_mc. ThatsMe_btn_c.onRelease = function() {}

    Subtotal = 3

    thatsMe();

    };

    the other buttons do not exist when your code runs.

    to remedy this, make sure that the other buttons exist when your code runs.  You can disable their visible property, so they cannot be seen.

  • How can I change the automatic country setting that is displayed in the payment gateway billing address? There is only one country in the drop-down list, not my current country

    How can I change the automatic country setting that is displayed in the payment gateway billing address? There is only one country in the drop-down list, not my current country

    A few changes/Verify account https://forums.adobe.com/thread/1465499 links that can help

    -html http://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id.

  • Cannot install adobe get "only one instance of this application can run.

    A month ago, I had to replace my hard drive and had to start re install everything.  I need adobe for many reasons, but more important still to read & Create PDFs.

    I tried to install it but get this message "that only one instance of this application can run.

    I see all the Adobe apps, I tried to remove all of the adobe files and still nothing.

    I also went on the Adobe Web site and it says this error message was due to the flash application, but I deleted all the files in and still nothing.

    Help, please!

    Roxanne

    I can't install the file that comes from the download link.

    Instead I had to install the Enterprise version. This fixed my issue. I bookmarked this site, next time there is an update I'll link again.

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

  • Why I can't install adobe get: 'only one instance of this application can run.

    Hello, can someone help me with the installation of Adobe Flash Player?

    I tried too much to install but get this message "that only one instance of this application can run.

    I see all the Adobe apps, I tried to remove all of the adobe files and still nothing.

    I opened the Task Manager and try to complete the process associated with Adobe manually by selecting 'End process' and then try to install it, but nothing happened.
    I tried "clean boot", but none worked. I downloaded the "Adobe unistaller' official page and"the latest version of flash player"but it does not work!

    I also went on the Adobe Web site and it says this error message was due to the flash application, but I deleted all the files in and still nothing.

    I have firefox.

    I suggest you to check with Adobe on this point, its something specific request.

  • LOV cascading if I don't have only one table with the customer name and the name of the product in the ADF.

    Hi Please help me how to use cascade, if I don't have only one table with the customer name and the name of the product in the ADF... I use Jdeveloper 11.1.

    For the client, I used customer VO with client list to fill but to populate the product that I use bind variable PrODUCT_NAME select distinct from TABLE where client_name =: bindCustomer

    so first of all, I need to set the variable of liaison on behalf of the selected customer.

    Can you please tell me how to set this variable binding in this case.

    After you set the LOV to your product attribute, correspondting VO in the LOV will appear under view accessors.

    Change the accessor of the view, you will see the variable binding. Set its value to the customer field of the parent object.

    Visit this link: https://www.youtube.com/watch?v=nXwL2_RP7AQ

    Kind regards

    Elias.

  • Reinstall - "only one instance of this application can run.

    I had to uninstall Adobe Reader a few months back and since then have been unable to reinstall. I get through the first couple download and click Yes to 'allow the following program to make changes to this computer', but then everything closes its doors, and sometimes I have the box "that only one instance of this application can launch" pop up. I have googled this error message and have spent hours trying each end on the way to solve the issue on various forums but nothing works and I really need to be able to open a PDF file again. Thanks for any help you can provide.

    If you're running Windows (which we don't know), 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 get this error message: only one instance of this application can run

    When I try to open my bank statement I get this message: only one instance of this application can run.  I was wondering what it means and how to open a file with adobe reader?

    Can you try to disable the Protected Mode (Adobe Reader |) Change | Preferences | (Advanced) security)?

  • I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    Yes, you can have a one word title, by assigning a paragraph style title to this one word. No, you cannot change the text in a Table of contents, but you can change paragraph style font attributes (line) and add for example, a head of points between the types of OCD paragraph and page numbers. No part of the table of contents will not provide hyperlinks in exported PDF documents.

    When you look up in the menu bar, you can see the word iPages, or simply Pages. There is no product of iPages.

  • Hi, I have bought LR6 and installed cloud creative ok, but when you go to installation of Lr, it allows only one installation of the trial version, the other options are to buy. I expect that when I pay 129 euros for the LR I can install it easily and not

    I bought LR6 and installed cloud creative ok, but when you go to installation of Lr, it allows only one installation of the trial version, the other options are to buy.

    Serialize Lightroom trial to activate like Lightroom 6 CC

    https://helpx.Adobe.com/Lightroom/KB/serialize-Lightroom-CC-trial-to-activate-as-Lightroom - 6.html

  • What is the value of repeat items only?

    I'm trying to understand the value of repeating only objects. I was hoping to create a list with the editable elements < li > and < li > does not have a tag that is supported for the editable regions. But it is supported as a repeat region. Can someone explain to me, or provide an example of the real world, of why this might be useful to the customer? In other words, why a customer would want the opportunity to move up, down, add, or remove an item, but not be able to change the content of the element?

    Is there a workaround to create a combo box or list items?

    Thank you.

    Hello antlion.

    You can wrap the content of the

  • s in editable divs. You have created your repeating group and applied repeatedly = "true" for the list items, but only InContext Editing allows regions editable on div, th, and td elements.

    In Dreamweaver, select the content of your

  • then choose Insert > InContext Editing > create editable region. Dreamweaver invites you to 'wrap the current selection with a DIV tag and then transform '. Click OK, and then repeat this step for each item in the list. The result will create boxes for your list items, and you look at something like:

  • conditionally define "BOLD" display property only one element on the page

    How can you conditionally set a display only point in bold.

    I can set the attribute of the HTML form element: style = "' make-weight: bold" "

    But I want to put it under certain conditions. Has been able to set the color under the condition with below the syntax before the process of page footer:

    HTP. PRN ("< script > $x("P102502_CTS025MT07").style.color = $x("P102502_HIDDEN_COLOR").value; (< /script > ');

    But can't figure out how to set the "BOLD".

    I tried htp.prn ("< script > $x("P102502_CTS025MT07").style.font - weight =" BOLD ";) (< /script > ');

    Cannot find the correct syntax for this.

    Hi pam499057,

    pam499057 wrote:

    How can you conditionally set a display only point in bold.

    I can set the attribute of the HTML form element: style = "' make-weight: bold" "

    But I want to put it under certain conditions. Has been able to set the color under the condition with below the syntax before the process of page footer:

    HTP. PRN(' ') ;

    But can't figure out how to set the "BOLD".

    I tried htp.prn(' ');

    Cannot find the correct syntax for this.

    What condition are you talking about? It's an event to an element for example "onchange" or "onload event page"?

    You can create a dynamic action on your event and the State that executes javascript defining the appropriate CSS code. For example your javascript code for the dynamic action can be (use ONE of the following):

    • If you want to that APEX javascript API old syntax:
    $x("P102502_CTS025MT07").style.color= $x("P102502_HIDDEN_COLOR").value;
    $x("P102502_CTS025MT07").style.fontWeight= bold;
    

    In javascript syntax code font is defined as follows: HTML DOM Style fontWeight property

    You will get the APEX API javascript here: http://docs.oracle.com/cd/E37097_01/doc.42/e35127/javascript_api.htm#AEAPI266

    • If you want to APEX new javascript API (which is based on jQuery) syntax:
    var clr = apex.item("P102502_HIDDEN_COLOR").getValue();
    apex.item("P102502_CTS025MT07").setStyle("color", clr);
    apex.item("P102502_CTS025MT07").setStyle("font-weight","bold");
    

    The new javascript API for APEX is documented here: http://docs.oracle.com/cd/E37097_01/doc.42/e35127/javascript_api.htm#AEAPI29446

    • If you want syntax pure jQuery:
    var clr = $("#P102502_HIDDEN_COLOR").val();
    $("#P102502_CTS025MT07").css("color",clr);
    $("#P102502_CTS025MT07").css("font-weight","bold");
    

    NOTE: In the answer above by Sunil he mixed the jQuery and javascript of APEX syntax, therefore, it will not work.

    • If you want that more compact jQuery syntax:
    var clr = $("#P102502_HIDDEN_COLOR").val();
    $("#P102502_CTS025MT07").css({ "color": clr, "font-weight": "bold" });
    

    Also the solution given by Jitendra will be static, that it will not apply CSS under certain conditions.

    Finally, it is not advisable to use HTP. PRN to emit javascript, because it is intended more to dynamic HTML issue. The dynamic action is an option more appropriate in this context.

    I hope this helps!

    Kind regards

    Kiran

Maybe you are looking for

  • Toshiba NB200-10Z change HARD drive to SSD

    Hello. I plan to buy Toshiba NB200-10Z netbook. I would like to ask if the next drive 'OCZ-OCZSSD2-1VTX60G 60 GB Vertex Series SATA II 2.5 SSD Drive' will fit this netbook? Post edited by: Lee

  • Satellite A300D-11 t (PSAK0E) cannot install the video driver

    Hello! I can't find a video driver for my laptop (Win XP). Unfortunately I lost a CD I got with it. The drivers I found on the official website of Toshiba didn't work - display-20090925081024 or display-20071214163138.A user of the forum USA Toshiba

  • Noise in my "HP Pavilion g4-1207tu Notebook PC' background when I was recording sound

    Hello I use HP Pavilion g4-1207tu Notebook PC. I have a problem to be solved now. I'm talking about my head I'll have a lot of background noise from phone. Now I use windows 8 (64-bit) and I installed the driver from http://goo.gl/hd74gY here. But th

  • Cannot install Windows 7 on Satellite L550

    I have a laptop Toshiba Satellite L550 - 13 c.I had problems with my laptop I couldn't start it that I managed to start my pc to windows xp with no driver.I downloaded most of the drivers now I and return to windows 7 but it do recognize the setip fi

  • Can I remove the cover of HDMI port?

    I want to connect my laptop to my new tv, but the hdmi port seems to be covered by a plastic cover. If possible, how can I remove it? Help, please!