Three Columns into One?

I have a list of about 1000 items. Currently they are in three columns. Is there an more automated way of making one single column rather than doing this manually with the return/enter button and arrow keys?
(Using Pages Ver 1.0.2)

I presume you have three columns made by tabbing.
Yes.
Use the Find dialog and search for a tab, replace
with just a return...
TIP: show invisibles and select the tab and or
return symbols so you can paste into the seach(find)
dialog.
How do you mean show invisibles? I set the whole OS to show invisible files. That doesn't affect Pages. How can I copy tab and return symbols?
iBook G4   Mac OS X (10.4.4)  

Similar Messages

  • Concatenate multiple columns into one string

    Hello,
    I am using Oracle 11.2, how can I concatenate the value of multiple columns into one string with one SQL:
    create table testTb(classId number(5), classRoom varchar2(32));
    insert into testTb value(101, 'room101');
    insert into testTb value(101, 'room201');
    insert into testTb value(101, 'room301');
    insert into testTb value(202, 'room444');
    insert into testTb value(202, 'room555');
    I would like to generate the result as followings:
    Class 101 is in room101, room201, room301
    Class 202 is in room444, room555
    Thanks,

    Hi,
    Since you're using Oracle 11.2, you can use the aggregate LISTAGG function:
    SELECT       'Class ' || classid
                   || ' is in '
                 || LISTAGG ( classroom
                         ) WITHIN GROUP (ORDER BY classroom)
                   AS txt
    FROM       testtb
    GROUP BY  classid
    ;The generic name for concatenating all the strings in a group is String Aggregation . This page shows several ways to do it, suitable for different versions of Oracle.

  • Converting multiple columns into one.

    All,
    I have a requirement to convert multiple columns into one. Following is the pseudo code of current implementation. It unions the various columns ( col1, col2........) into a new column new_col. But perforamnce is extrmely slow owing to multiple unions. It may be noted that tables and where conditions of all these queries are same.
    Can you help me create a more efficient query?
    select col1 , col2, col3, col4 from my_tables where some_cols = my_condition;Below is the query used to convert these columns into one.
    select col1 new_col from my_tables where some_cols = my_condition
    union all
    select col2 from my_tables where some_cols = my_condition
    union all
    select col3 from my_tables where some_cols = my_condition
    union all
    select col4 from my_tables where some_cols = my_condition

    Without looking at those things you could be barking up the wrong tree by assuming the issue relates to the unioning of queries or other such things.Well, might be.........
    Execution time of this query (just the execution time not the retrival) is around 34 seconds with connect-by clause for returning 22,000 records.
    Here's the plan
    Execution Plan
    | Id  | Operation                          | Name                        | Rows
    | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT                   |                             |   326
    | 33904 |   135   (2)|
    |   1 |  SORT ORDER BY                     |                             |   326
    | 33904 |   135   (2)|
    |   2 |   MAT_VIEW ACCESS BY INDEX ROWID   | MV_COMQ_RM_DEAL             |     1
    |    62 |     1   (0)|
    |   3 |    NESTED LOOPS                    |                             |   326
    | 33904 |   134   (1)|
    |   4 |     MERGE JOIN CARTESIAN           |                             |   326
    | 13692 |     3   (0)|
    |   5 |      VIEW                          |                             |     1
    |    13 |     2   (0)|
    |   6 |       COUNT                        |                             |
    |       |            |
    |   7 |        CONNECT BY WITHOUT FILTERING|                             |
    |       |            |
    |   8 |         FAST DUAL                  |                             |     1
    |       |     2   (0)|
    |   9 |      BUFFER SORT                   |                             |   326
    |  9454 |     3   (0)|
    |  10 |       TABLE ACCESS BY INDEX ROWID  | SF_SEARCH_IDS_TMP_COMQ      |   326
    |  9454 |     1   (0)|
    |  11 |        INDEX RANGE SCAN            | IDX1_SF_SEARCH_IDS_TMP_COMQ |   349
    |       |     1   (0)|
    |  12 |     INDEX RANGE SCAN               | IDX_MV_COMQ_RM_DEAL         |     9
    |       |     1   (0)|
    -----------------------     Hope, It's readable.......
    I would have posted sample data and query but........I cant do that...:(

  • Select multiple column into one column

    Hi..!!!
    Is it possible to select 4 columns in to 1 columns?
    I've major1, major 2, major 3, major 4 and i want to retrieve all the columns into one column called "Majors".
    Is it possible? if yes then how?
    Help me out.
    Thanks,
    Himadri

    If you had given a proper example this thread would have been over in two posts. What you are looking for is often described as an UNPIVOT.
    I tend to use a collection type for this, e.g.
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> CREATE OR REPLACE TYPE varchar2_table AS TABLE OF VARCHAR2 (4000);
      2  /
    Type created.
    SQL> SELECT empno, column_value
      2  FROM   emp, TABLE (varchar2_table (ename, job));
         EMPNO COLUMN_VALUE
          7369 SMITH
          7369 CLERK
          7499 ALLEN
          7499 SALESMAN
          7521 WARD
          7521 SALESMAN
          7566 JONES
          7566 MANAGER
          7654 MARTIN
          7654 SALESMAN
          7698 BLAKE
    (snipped)
    28 rows selected.
    SQL>

  • Consolidating three rows into one

    Hello,
    I am struggling to figure this out and my googling hasn't quite led me to what I need. I have found some ideas such as sys_connect_by_path but I want to convert my three rows into columns (using one row), not concatenate them. I can not quite find the right thing or work it out. The code below gives me the columns I want but I can not figure out how to consolidate it onto one row. When I uncomment the group by line it doesn't like it as the role and emp fields are not group expressions. The values I wish to pivot are strings and not numbers (role).
    Would anybody be kind enough to help?? my brain has frozen!! :D
    Thanks very much
    Jon
    With t As
             Select 25840 id, 'Bob' emp, 'Primary' role  From dual Union All
             Select 25840, 'Jim', 'Secondary' From dual Union All
             Select 25840, 'Dave', 'Tertiary' From dual
        Select
        id
        ,decode(role,'Primary',emp) Prim
        ,decode(role,'Secondary',emp) Sec
        ,decode(role,'Tertiary',emp) Ter
        From
        t
        --group by id

    You just need to add a MAX and uncomment the GROUP BY
    SQL> ed
    Wrote file afiedt.buf
      1  With t As
      2           (
      3            Select 25840 id, 'Bob' emp, 'Primary' role  From dual Union All
      4            Select 25840, 'Jim', 'Secondary' From dual Union All
      5            Select 25840, 'Dave', 'Tertiary' From dual
      6           )
      7   Select
      8      id
      9      ,max(decode(role,'Primary',emp)) Prim
    10      ,max(decode(role,'Secondary',emp)) Sec
    11      ,max(decode(role,'Tertiary',emp)) Ter
    12    From t
    13*  group by id
    SQL> /
            ID PRIM SEC  TER
         25840 Bob  Jim  DavePersonally, I'd use a CASE rather than a DECODE, but that doesn't matter much.
    Justin

  • Need to concatonate multiple values for same key columns into one string

    Hi...I'm attempting to use PL/SQL to read through a table containing more than one column value for a set of keys, and concatonate those values together into one string. For example, in the STUDENT table, for a STUDENT_ID there are multiple MAJORS_ACCOMPLISHED such as History, Biology and Mathematics. Each of the majors is stored in a different row with the same STUDENT_ID due to different faculty DEPARTMENT values.
    I want to read through the table and write out a single row for the STUDENT_ID and
    concatonate the values for MAJORS_ACCOMPLISHED. The next row should be another STUDENT_ID and the MAJORS ACCOMPLISHED for that student..etc.
    I've hit a wall trying to use cursors and WHILE loops to get the results I want. I'm hoping someone may have run across this before and have a suggestion. Tks!!

    I think you are looking for string aggregation.
    The following are the replies posted by me in the forum recently on the same case.
    they might help you.
    Re: Concatenating multiple rows in a table - Very urgent - pls help
    Re: Doubt in a query ( Urgent )
    Re: How to remove words which consist of max 2 letters?
    Re: output like Name1,Name2,Name3...

  • Compare three columns within one table. Help!

    Hi All
    I had a post up about this yesterday but I didnt have much luck and im still really stuck on this so if there is anyone who has any idea please help me.
    I have three columns A,B,C within the one table. Column A may contain a value that is in Column B so if this is the case I need to enusre that it is not brought back in the query. I have tried using a minus function but it is not working very well. Probably because i am doing it wrong.
    So basically I need the query to
    Compare
    (A) Column A with Column B - If a value is present in column B I want to minus it/remove it from Column B
    (B) Column A with Column C - If a value is present in column C I want to minus it/remove it from Column B
    (C) Column B with Column C - If a value is present in column C I want to minus it/remove it from Column B
    OUTPUT AT PRESENT
    COL A COLB COLC
    12345 45666 78888
    45666 78888 66666
    66662 12345 37891
    Desired Output
    COL A COLB COLC
    -------- 45666 78888
    -------- -------- 66666
    66662 12345 37891
    Any help with this would be really appreciated
    Thanks

    SQL> select * from poles;
            P1         P2         P3
           123        101        123
           456        123        456
           789        456        999
    SQL> select decode((select count(*)
      2                from poles
      3                where p2 = p.p1
      4                or p3 = p.p1),0,p1) p1,
      5          decode((select count(*)
      6                from poles
      7                where p3 = p.p2),0,p2) p2,p3
      8  from poles p;
            P1         P2         P3
                      101        123
                                 456
           789                   999                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to aggregate columns into one in a bar chart

    Hello.
    Maybe the title of my question is not clear (i suspect as much) but here is my situation:
    I have a MDX dataset with this data
    Project, Turnover
    A,100
    B,120
    C,50
    D,20
    Plotting this in a  Chart produces the correct result: it gives me a chart with 4 columns.
    What i want however is to add all these values into one column and have the chart show only one as i will be adding more data series (via lookUp) that will show additional related data.
    Can this be achieved?

    Hi SergioJN,
    Based on my understanding, you want to create a bar chart. In the chart, multiple series are stacked on a column. Within the same category, you want to use Lookup() function to add related values of those series, then make these values stack on the second
    column. In your scenario, two columns exist within one category, and for each column, values of multiple series are stacked, right?
    In Reporting Service, when adding multiple values(in your scenario, it would be Project) to series and these values are grouped by one category, multiple values are stacked vertically on a column within one category. If these values are not grouped by the
    same category, it’s unable to make multiple series stack vertically on a column. If we add other related values in Values, these values will stack vertically on the original column based on series. So your requirement can’t be completely achieved currently.
    As we tested in our environment, within the same category, the related values will be stacked horizontally on the original values of each series within a bar. Please refer to screenshots below:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • How to combine multiple columns into one column and delete value the row (NULL) in sql server for my example ?

    My Example :
    Before:              
    Columns
    name               
    address          
                   jon                      DFG
                   has                     NULL
                   adil                      DER
    After:                  
    Column 
                                    Total   
                      name : jon , address : DFG
                      name : has
                      name : adil , address : DER

    Why not doing such reports on the client site?
    create table #t (name varchar(10),address varchar(20))
    insert into #t values ('jon','dfg'),('has',null),('adil','der')
    select n,case when right(n,1)=':' then replace(n,'address:','') else n end
    from
    select concat('name:',name, ' address:',address  ) n from #t
    ) as der
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Retrieve of data from two columns into one column

    For eg: i have a data in a table with columns A & B of same size
    A B
    1 2
    2
    3 1
    4 2
    5 3
    6 5
    7 1
    8 4
    9
    10 8
    Through a select i want the output of my data in one single
    columns, Well I can do this by using union.
    But my output should be like
    if I select by condition where A=2
    my output should be
    2
    1
    3
    7
    4
    because all these numbers are linked with 2 how do i do this
    because it is like searching the number 2 in two columns and wherever this number 2 is linked i should get all the data relevant to it.
    Hope u got my point what i exactly want
    Can anyone help me it is quite urgent.
    Regards
    Vamsi Mohan

    i do not a concatenated data
    i have a data in a table with columns A & B of same size
    A B
    1 2
    2
    3 1
    4 2
    5 3
    6 5
    7 1
    8 4
    9
    10 8
    if my where condition is 'where A=2'
    my output should be
    1
    2
    3
    4
    5
    6
    8
    10
    i want my query to search as loop so that it keeps on searching
    for related data as in my case it is
    2 is linked to 1
    1 is linked to 3
    3 is linked to 4
    my query should keep on seaching for linked numbers till
    it does not find any mathing linked numbers
    and the resulted output should come in one single column

  • Issue while mapping two entity column into one entity column

    Not able to succeed with when trying to join 2 entity columns to an entity.
    Entity A Id, AName, ADesc, AQty
    Entity B Id, AName, BQty
    Entity C Id, AName, CQty
    Mapping Entity A to Entity B & Entity C with column reference, not able to succeed with two joins.
    EntityA
    @OneToMany
    @Column(name = "ANAME")
    private List<EntityB> bName = new ArrayList();
    private List<EntityC> cName = new ArrayList();
    EntityB
    @ManyToOne
    @JoinColumn(name = "ANAME")
    private EntityA enitityA;
    EntityC
    @ManyToOne
    @JoinColumn(name = "ANAME")
    private EntityA enitityA;
    Join work only for EntityB, not for EntityC...
    Please, give me your suggestions.

    A few issues:
    - You need the @OneToMany on both fields, not just the first one
    - A @OneToMany cannot use an @Column, it should use a mappedBy="entityA"
    See,
    http://en.wikibooks.org/wiki/Java_Persistence/OneToMany

  • Multiple ListBox columns into one Textbox

    I would like a text box to return several columns from a list box.
    Me.TextMulti=Me.ListProduct.Column (*)
    *here I would like it to give me columns 55, 95, 95, 97, 98, 99, 100 and 101.
    Has anyone any experience with this?
    Thank you in advance for any help you can give me.
    Gee

    I would like a text box to return several columns from a list box.
    Me.TextMulti=Me.ListProduct.Column (*)
    *here I would like it to give me columns 55, 95, 95, 97, 98, 99, 100 and 101.
    Has anyone any experience with this?
    Thank you in advance for any help you can give me.
    You have a list box with 100 columns in it?!!  That's a very unusual setup.  Why?  And why do you need to get multiple columns from it into a single text box?  It seems so strange, maybe you're going about something the wrong way.
    To answer the question itself, you can concatenate multiple columns from a list box in the controlsource of a text box, but you have to itemize the columns.  As for example this ControlSource property for the text box:
        =[ListProduct].[Column](55) & "," & [ListProduct].[Column](95) & "," & [ListProduct].[Column](96) & "," & [ListProduct].[Column](97) & "," & [ListProduct].[Column](98)
    & "," & [ListProduct].[Column](99) & "," & [ListProduct].[Column](100) & "," & [ListProduct].[Column](101)
    That may be too long to fit in the ControlSource property; I'm not sure.
    Or you could write a VBA function that concatenates the desired columns, and use that in a function expression for your text box.
    Dirk Goldgar, MS Access MVP
    Access tips: www.datagnostics.com/tips.html

  • I need to combine two Excel columns into one.

    Specifically I've exported a .csv file from another web app and it has First Names and Last Names in separate columns. I need them combined into a single column which includes both first and last names. I can't seem to remember how to get it come without the delimiter. I've already had to specify which columns to "skip" and other things in the dialogue box brought up when I "Get external data." Any way to do this cleanly?
    Thanks in advance,
    Dan

    Easiest way, when already in Excel, is to use the CONCANTENATE function in a new column that will then have the combined text of the separate columns...
    For example column A has the first name and column B has the last name...
    use the following formula in any empty column cell:  =CONCANTENATE(A1, " ", B1)
    (note added the literal space surrounded by quotes as thats how you would normally see the names.
    then you select and copy the formula of the cell (Cmd-C), then select/highlight the rest of the column and paste (Cmd-V) and you're done.

  • Putting Three Cells into one Table Cell but with Three rows of data?

    How do I do this.
    I see no way to increment the indexPath row.
    I have data grouped by category and I want to show three items per line.
    Is there an example or such on how to increment the indexpath
    thanks

    One way to think about this problem is by filtering. You can create 'Booked Gig Tracking' and 'Try Again 2009' tables that are merely copies of the main table (with columns omitted as desired). These two tables would be populated with simple formulas like =MainTable :: Name in the Name column and =MainTable :: Address in the Address column. Make sure to copy the appropriate check column as well. Then each of these two tables can be filter to show only the items that are checked.
    This is a pretty sketchy description of the idea. If you need something more detailed, ask.

  • How we need to use fork to merge three files into one in BPM

    Hi Friends,
                    Please send me some example that has three files merged to one      using fork in BPM.
    Thanks & Regards,
    Vinaiy Yadav

    Hi Vinay,
    go to software component SAP BASIS, than to namespace http://sap.com/xi/XI/System/Patterns.
    You will find there several BPM patterns which you can examine/reuse.
    The following ones will give you an answer to your question.
    - BpmPatternCollectMultiIfCondition
    - BpmPatternCollectMultiIf
    Regards,
    Andras

Maybe you are looking for

  • SQL Loader to Load Multiple Tables from Multiple Files

    Hi I wish to create a control file to load multiple tables from multiple files viz.Emp.dat into emp table and Dept.dat into Dept table and so on How could I do it? Can I create a control file like this: OPTIONS(DIRECT=TRUE, SKIP_UNUSABLE_INDEXES=TRUE

  • LSMW error in material consumption value upload

    Hi Guys, I am using standard program RMDATIND for creating LSMW to upload consumption value for materials , i am getting error consumption period can not be determined, can anybody tell me what period format should be used? Thanks and regards Thamizh

  • Downsaving to version 10 rasterizes my gradients. How do I downsave and keep everything vector?

    I am trying to downsave my Illustrator work to version 10 AND keep all the shapes vector. I do a save copy and select the version of Illustrator I need (10), the result gives me rasterized images rather than vector for many of the gradient filled sha

  • N85-how to use SIP setting and use Voice over IP t...

    Dear Nokia user In Nokia N85 setting there is an option foe SIP setting.I want to know how can I use this option to register in a SIP proxy server and have an VOIP converstion over internet by my N85 small_nokia_supporter

  • Is there a Labview for Linux

    Dear friends, I just know that there is a Labview for Linux. I have a Labview for Window. I dont the Labview for Linux is free. Can anyone tell me how much it should be? Does it have an educational discount? Thanks Tony Cheng (EE Dept. of City Univer