How to display a column of values in a line?

Select * from tab1;

Jagan

Siva

RAMU

Samba

But my requirement is to display the output as same as below...

Jagan, Siva, Ramu, Samba...

Someone help me please...

It displays error;

Keyword not found where expected.

So I used under request he got success...

Select

RTrim (xmlagg (xmlelement (e, name |))) ') .extract ('/ / text()'), ',') name of Tab1;

output:

Jagan, Siva, Ramu, Samba

Tags: Database

Similar Questions

  • How to filter a column of values?

    Hello

    I imported a .csv file large journal that contains many different columns and values in DIAdem. One of the columns contains a hexadecimal value field, and I need to filter the column by the last byte of this hexagonal field. For example, one of the values can be "CFFD0F3" and I need to find all the rows that have "F3" as the last byte. I also need all the other columns to filter the same way.

    There seems to be an easy way to do this in DIAdem, and I searched online and via the discussion forums of the means to accomplish it. Whenever I have to search for the word "filter" it always brings me to the FFT or high-pass/low-pass filters. I want just to filter a column like Excel does, but my log file contains about half a million entries, so I can't fully open in Excel.

    I've attached a screenshot of what some of my columns looks like, but for reasons of confidentiality, I can't reach the log file.

    Someone at - it ideas?

    Thank you!

    Hi Ben,

    I cooked up a small nice application for you.  Given that your post clearly stated that you were dealing with millions of data values, I took care to implement this request as efficiently as possible and to include State dialog boxes so that you know what the script is doing at any time and which actions are most of the time, where we try to further optimize your needs.  You must extract the 3 files in the ZIP file attached in the same folder somewhere.  Then you must run the script "ExtractIDGroups Add.VBS" to add the context menu and enter the UserCommands will call the context menu.  We can implement your tiara to always run this VBScript when you start, once you are satisfied with the result.

    You will use the new context menu in the following way.  Load your data file in DIAdem, and then display the channels of data loaded in a table VIEW, like your screenshot posted.  Now select and right click on the channel "Arb ID" (or depending on the channel has the Hex addresses) and choose the new context menu "extract ID groups.  A user dialog box will pop up on the left of your computer screen lists all the listed final 2 Hex characters of suffix in this channel you clicked on.  Select one or more suffixes desired Hex (shift or control for a multiple selection key), and then click the button.  You will then see each of these selections exploded as a new group in your data portal.  You can select several times the "extract I groups" If you decide to go back and add a few ID groups more.

    The application is currently being implemented to sort the raw data in place according to the values of "Hex suffix" and leave it this way - it so that leaving the channel 'Hex suffix' in the raw data group makes more quickly to repeat ID group gross since the same set of data extraction.  It's also the way more efficient to retrieve more than one ID groups, I'm guessing that you want to.  Each snippet ID Group is sorted by the values of the first chain of this group.  So if you want to sort these groups ID extracted by the string 'Abs Time' or "Time Rel", say, you need to drag this tri-canal in the data portal of his start position to the first position in this group of raw data before selecting the menu "Extract group ID".

    Let me know how it works for you,

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • How to display only the total value in the upper part of the chart stacked

    Hi all

    I need to display only the total value at the top of the stacked chart in the report of obiee 11g. Can someone help me on this please.

    Thank you

    Hello

    Will be a little different approach suit you like the below a? Total for a day is displayed next to the attribute of the day. Here, the "daily amount" is also an attribute instead of a measure.

  • How to display a column horizontally

    Hello

    I want to display the result set in a single line

    Select * from emp where rownum < = 3

    Jim Clark Adams

    instead of display as

    Jim
    Clark
    Adams

    Thank you.

    If your version of Oracle 10 g then try this one

    select replace(wm_concat(EMP_NM),',',' ') from emp where rownum <=3
    

    Kind regards
    Kaila Mahesh

  • How to get the maximum/more value in one line?

    I have a simple table view Pivot with dollars as a measure, a month on accounts on the rows and columns.  I want to emphasize the month that has the greatest value.  For example if the market value for the revenue account is for Jan, Feb 11, 50 Mar 10 and 0 for the rest of the month, then so I want to highlight the cell that contains 50 green. So, basically, I need to be able to identify the max value in a row in the PivotTable.

    If I add a max calculation, it returns the top value in all columns and rows. A calculation of rank also returns the rankings in all the columns and rows. How can I determine the largest value in a single row?

    Thank you

    J

    In general, go through measures based on level. Just tweak it like max (income per year)

    Just do it in the criteria tab and see how it works and I still thing you know how to

  • How to display a column value with chain?

    Hai all,

    SELECT name from TAB1;

    output: JAGAN

    RAMU

    SIVA

    Sanjay

    So my requirement is to display these data in string (with single Quotes) as below.

    "JAGAN.

    "ROBERT."

    'SHIVA '.

    "Sanjay".

    I would like to know if it is possible...

    Thanks in advance...

    Jagadekara Reddy

    Hello

    Yes it is possible, try this

    SELECT "' | name | " '

    OF TAB1;

  • How to display the list item values both from 2 different tables?

    Hello world.

    I have a problem for the display of the data.

    There are 2 tables in the database.

    Table-1 has lc_value, lc_no, lc_dt, and vendor_code columns.

    Table-2 has vendor_code, $vendor_name & vendor_address.

    I created the form where I display data in list item 30 (tabular presentation - 30 records displayed).

    I need to display all values automatically at the same time in the form just by clicking on "Enter_Query" and "Execute_Query".

    It worked when the form had fields in a table in a single table.

    I created fields in a table for tables; then created the relationship between the tables by using the join (vendor_code).

    But when I run the form, click on "Enter_Query" and "Execute_Query", its does not work.

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.

    How can I do this?

    Help me.

    Thank you.

    Dear Bruno,

    Each provider code is to have a folder, then

    Why keep two tables?

    Why you want to update both the table at the same time?

    Master / detail means,.

    a master record depends on several detail records.

    Please, understand and try to build your form with single table.

    If you have already created 2 tables, then merge these into a single table.

    Or other wise keep table_1 as a database block and to vend_name as a data field (element of database in the palette of the property is set to 'no').

    Then go to the trigger of table_1 block post_query and write the following:

    Select vend_name in: vend_name from vendor_mst where vend_cd =: lc_vend_cd;

    In doing the above, the form will look as you wish but the change on the vend_name not to be saved because that is the point of no database.

    Other than vend_name all fields in table_1 will be recorded.

    Hope this will help.

    Post edited by: Priyasagi

  • How to display the columns in the wise line in pl sql

    I have to display some values of constant wise online using the select statement. For example, after query both display constant columnwise...

    Select 83: 42 double;

    83 42

    I want to display the rowwise... IE

    Constant
    83
    42

    I can create temporary table and add them then ask, but there should be a way I can use double to show the values line wise. something like

    Select a double where an in (83, 42)

    Appreciate your help.

    Hello

    Here's one way:

    SELECT     column_value    AS cnstnt
    FROM     TABLE (sys.odcinumberlist (83, 42))
    ;
    

    CONSTANT is a keyword from Oracle is not a very good name for your own column.

  • How to display 5 columns with blank lines

    Hi Experts,

    I need to display in the dashboard column 5 with blank lines. After download in excel I need to see the same thing as the names in columns 5 and that it must contain empty lines. It is one of the requirements of the user.

    So how do you achieve...

    Thanks in advance,
    Sitbon

    Next to all the answers of your son, you should see a button 'OK' or 'useful '.
    Helpful = 5pts,.
    Correct = 10pts

    :-)

    Check the sticky thred:
    http://forums.Oracle.com/forums/Ann.jspa?annID=939

    Welcome to the community, pls help others!

  • How to display the different attribute value in the ToolTip of selectonechoice

    In the selectonechoice when hovering over the values in the drop-down list, it displays the same value in the ToolTip too. I want to see the value of another attribute in the ToolTip.

    For example if the list displays the name of the lov, ToolTip should show its description attribute value. I tried assigning a different value to shorDesc, but have no effect on the values of the ToolTip.

    selectonechoice_tooltip.jpg

    < af:selectOneChoice value = "#{row.bindings.TfesNdx.inputValue} '"

    label = "#{row." Bindings.TfesNdx.label}.

    required = "#{bindings." ATfes.hints.TfesNdx.mandatory}.

    shortDesc = "#{bindings." ATfes.hints.TfesNdx.tooltip}"/ / changed it to shortDesc =" #{row.bindings.Notes.inputValue} "does not yet "

    ID = "soc17" autoSubmit = "true" >

    < f: selectItems value = "#{row.bindings.TfesNdx.items} '"

    ID = "si17" / >

    < / af:selectOneChoice >

    PS: Using 11.1.1.7.0 version adf

    You probably need property shortDesc on af:selectItem http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_selectItem.html

    For example, you can use af:forEach to make your items to select like in this blog post: http://learnfrommike.blogspot.com/2013/11/adf-using-selectonechoice-in-afiterator.html

    Dario

  • How to display dynamic columns, published by vo.addDynamicAttribute in jspx?

    Hello

    I met the problem when add cloumn programmatically and display it on the screen. Here are my steps:

    1 put implement Application Module, add an init() method and expose it to the customer.
    2. in the init() method, get VO target and use vo.addDynamicAttribute ("Addition3"). Then it iterate using row.setAttribute ("Addition3", Math.random ()). Add init() for liaison page and invoke it. (it is invoked)
    3 al ' jspx, use #{row.bindings.Addition3.inputValue}

    Error occurs when eval expression EL in step 3.
    javax.el.PropertyNotFoundException: unattainable target, "Addition3" returns null.

    Addition3 is not defined in XML, but dynamically. I guess that's important.

    Anyone know how to view on jspx?

    The new attribute is not in the definition of the page. You must use a technique where people called "dynamic table".

    http://deepakcs.blogspot.com/2012/06/display-ADF-dynamic-table-based-on.html

  • How to display a column with a representation of the image color in Windows Explorer on Windows 7?

    OK, here's my situation...

    I have a directory with 300 + JPG images in it; I'm hoping to use some (if not all) of these images for a project.

    However, the project has very specific requirements for the image dimensions, resolution, and a representation of the colors; So I need to evaluate the supplied images to validate if they are all in line with these requirements.

    If I right click on an individual image and choose Properties - then click on details, I can see the image information such as:

    • Dimensions,
    • horizontal resolution,
    • vertical resolution, and
    • color representation.

    ... which would be perfect if I had only 1 or 2 images to cross; but with more than 300 images, it becomes cumbersome.

    So: I put the "Détails" view folder and added columns for dimensions, horizontal and vertical resolution resolution.

    This helps my cause, because I can then sort the directory... and quickly see if the images are too small, too big, or unacceptable resolution.

    However, I have not found a way to add a column for the representation of colors.

    Is it possible to add a column for the representation of colors?

    Hello

    Unfortunately there is no other option to define the representation of colors in Windows Explorer. If you want to provide feedback about it, then check out the link:

    Windows 7 comments

  • How to display several column data in an Oracle SQL column

    Hello

    I have the table t1 and (a1, a2, a3) are columns

    I have this request

    Select the t1 a1
    Union
    Select a2 from t1
    Union
    Select a2 from t1

    This is the variant is unpivot, but he calls internal table several times.

    I wish in a way, where I want the same output, but the appeal of the table only once.

    Thank you
    Sunil Jena

    Published by: 990324 on March 15, 2013 04:46

    Assuming a1, a2 and a3 have the same data type:

    select  case lvl
              when 1 then a1
              when 2 then a2
              else a3
            end
      from  t1,
            (
             select  level lvl
               from  dual
               connect by level <= 3
            )
    /
    

    SY.

  • How to display the column single line with function of nested groups

    SQL > select deptno, Max (sum (sal)) SalSum
    2 of PEM
    3 Group of deptno;
    Select deptno, Max (sum (sal)) SalSum
    *
    ERROR on line 1:
    ORA-00937: not a single group group function

    Can you please help me to get the Max (sum (sal)) with Deptno...

    Or:

    select max(deptno) KEEP (DENSE_RANK LAST ORDER BY SalSum) deptno,
    max(SalSum) from  (
      select deptno,sum(sal) SalSum
      from emp
      group by deptno
    );
    
  • How to display the results in 3 sec then line break?

    I was on a website and saw that they had their results displaying in a row of 3 then it < br / > to the next line. I searched high and low for days about how they did it. I know that this can be done manually, but the question is whether this can be done dynamically?

    For example:

    = 37 search results

    I want to display as follows

    : # 1 # 2 result: result # 3 < br / >

    : # 4 result # 5: result # 6 < br / >

    Result # 7: Result # 8: # 9 result < br / >

    and so on.

    Hope that all of the senses.

    I found an old string on the forums here with someone who has the same problem. What follows is exactly what I needed to finish it. I had no idea how to achieve this. Dan's response was right, but I didn't know exactly how finish it to take account of the last part of the file.

    Thanks again for all the responses and assistance.

Maybe you are looking for

  • Add separators to location bar entries?

    I've recently updated to the latest version of Firefox and have spent the last days to make him look and work as I want (or at least close to it), but there is something in particular that is bugging me. Return on FF24 and earlier versions, sites ins

  • late of iPhone development

    My iphone 6 is running under iOS 9.2.1. sinice last 3 months my phone keep late. I can't yet answer calls. very annoyed by this situation... My 64 GB iPhone and has less apps installed (trigger dead, skymap, opera mini, Sygic map, waze, English Dicti

  • LabVIEW Embedded for ARM build fails

    I use the LabVIEW Embedded module for ARM microcontrollers with theThe EK-luminary LM3S8962 Evaluation Committee. When I try to build/run vi as an example in the tutorial (pg 13, the start-updoc) I get the following error: Build Failed. Build failed

  • Backup file too big

    I am a new user of lenovo and not very familiar with the OneKey Recovery System. Now that I've used my Y460 for a month, I realized that I have a backup disk. I used the OneKey Recovery to create a backup file and only need 60GB, so for this I have t

  • Downgraded from Vista to XP BUT AUDIO does NOT WORK!

    Hello ~! I have a HP Pavilion dv6500 laptop with an AMD processor. Recently, I got drowngraded of Windows Vista to XP by following the guide on this site, but not install the audio drivers (Conexant High Definition Audio Driver) and so I have no soun