Combine lines in one

Hi guys,.

Need to do the following...

SERIAL_NOPART_NOVEHICLE_ID
171CM-8
171CM-1593

Here, I need to merge the two rows to one using the following column headers...

Serial_No Part_No1 Part_No2 Vehicle_ID

Here the Part_No1 must be set to record where Vehicle_ID is null

Thank you

Napster

This did the job for me... Thanks anyway...

(

SELECT v7.serial_no,

MAX (DECODE (v7.vehicle_id, NULL, ", v7.vehicle_id));

MAX (DECODE (v7.vehicle_id, NULL, ", v7.part_no));

MAX (DECODE (v7.vehicle_id, NULL, v7.part_no, "))

OF my_tab v7

GROUP BY v7.serial_no)

)

Tags: Database

Similar Questions

  • How can I take short videos of my digital camera and combine them into one video.

    I went to a class reunion and took several short videos and want to combine them into one so that I can make a DVD with photos and videos.

    What is the format of the video clips? Are they compatible
    with Windows Live Movie Maker and Windows DVD Maker?

    First... If you import video clips in Windows group
    Creating DVD... Each clip becomes a scene (chapter).

    Or... you can import the group into Movie Maker add them
    for a project and save it as a. WMV video file... cela will combine
    in a single file.

    Also... Format Factory free software has a Video Joiner
    option that will join files very quickly and can be
    worth a try.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster)
    (the file you want to download is: > FFSetup270.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the last screen)

    First, you will need to decompress the file or just open the
    Drag FFSetup270.exe out of the folder
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Once installed, open Format Factory... to the left
    pane... Choose... Advanced / Video Joiner...
    On the left, click on the button Add file and import your video
    clips. Choose an output format and on the left, click OK.

    On the left, click on the Start button in the toolbar and your
    video files will be combined.

    Good luck...

  • I created a PDF file in InDesign and the text boxes has a white line around one of the text boxes?   There is no color indicated on the sketch? How can I fix it

    I created a PDF file in InDesign and the text boxes has a white line around one of the text boxes?

    There is no color indicated on the sketch? How can I fix it

    Double post.

    Locked

  • How to combine documents on the new Adobe Reader software? It seems to have updated and it does not combine files into one.

    How to combine documents on the new Adobe Reader software? It seems to have updated and it does not combine files into one.

    Se, Reader cannot do this. You can do it with a subscription to services pack pdf or the full version of Adobe Acrobat.

  • How to make the tool pen show a guide of my line from one point to another

    I need help on how to change my tool pen where it will show an overview of my lines from one point to another. When I draw the line I place two points and then the line appears. How I do to where the line will follow my mouse pointer and then I select the second anchor.

    Maybe check your preferences > selection & anchor display > enable the rubber band for: pen tool

  • Add line button adds three lines (not one)

    In the report of Dropbox form - UNIFORM - (04) .pdf there are two tables. The two tables have a single button "add a line". In the table at the top of the page, click it once actually adds three lines (not one, as it should be). In the second table, it works as it should (by adding only one line). However, for the life of me, I can't understand why.

    The upper table using this code:

    Form1. #subform [0]. SUB_of_Table1.Table1.HeaderRow.Subform3.AddButton::click - (JavaScript, client)

    Table1._Row1.addInstance (true);

    The bottom table using this code:

    Form1. #subform [0]. SUB_of_Table2.table2.HeaderRow.Subform2.AddButton::click - (JavaScript, client)

    Table2._Row1.addInstance (true);

    Except for a form of corruption of document, I can't begin to guess why the top adds three lines, but inside only one. It drives me crazy.

    No, it doesn't always work does not, try to use Gmail drive share or send me a private message and I'll give you my email.

  • for the combined line and conditional formatting bar graph

    Hi all

    I have a combined line and bar chart, bars showing the values of the CDA in different exercise, as well as the lines that appear from year to month values in the different financial year, how set up the conditional formatting to do the same exercise, the same color - isn't serious CDA (BAR) or the year (line)?

    Thank you
    Ling

    Check the image at the Point # 5 of the link
    http://obieetraining11.blogspot.com/2012/08/OBIEE-11g-adding-graph-to-analysis.html

    Who has the possibility of conditional formatting.

    check if help

  • Combine multiple lines into one line (from two tables / result sets)

    Hello experts,

    I would like to know how to combine multiple lines/records in a single record. Here are the DDL and DML to tables:

    create table test_table)

    client_name varchar2 (50 char),

    login_time timestamp (6).

    logout_time timestamp (6).

    auto_type varchar2 (10 char)

    )

    create table root_table)

    navigation_time timestamp (6).

    client_name varchar2 (50 char),

    VARCHAR2 (50 char) nom_du_groupe

    )

    Insert into test_table

    values ("John", TO_TIMESTAMP ('2013-12-05 17:04:01.512 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), TO_TIMESTAMP ('2013-12-05 17:27:31.308 ',' YYYY-MM-DD HH24:MI:SS.) FF'), 'SIMPLE');

    Insert into test_table

    values ('David', TO_TIMESTAMP ('2013-12-05 06:33:01.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), TO_TIMESTAMP ('2013-12-05 06:45:01.112 ',' YYYY-MM-DD HH24:MI:SS.) FF'), 'SIMPLE');

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 17:04:01.512 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "invalid");

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 17:14:22.333 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "GROUP_1");

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 17:27:31.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'John', "GROUP_1");

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 06:33:01.308 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), "David", "invalid");

    insert into root_table

    values (TO_TIMESTAMP ('2013-12-05 06:45:01.112 ',' YYYY-MM-DD HH24:MI:SS.)) FF'), 'David', 'GROUP_5');

    game results test_table

    client_name

    login_time logout_time auto_typeJohn05/12/2013 5:04:01.512000 PM05/12/2013 5:27:31.308000 PMSIMPLEDavid05/12/2013 6:33:01.308000 AM05/12/2013 6:45:01.112000 AMSIMPLE

    root_table result set

    navigation_time client_name GroupName
    05/12/2013 5:04:01.512000 PMJohnNot valid
    05/12/2013 5:14:22.333000 PMJohnGROUP_1
    05/12/2013 5:27:31.308000 PMJohnGROUP_1
    05/12/2013 6:33:01.308000 AMDavidNot valid
    05/12/2013 6:45:01.112000 AMDavidGROUP_5

    And here is the SQL code I'm writing:

    Select a.customer_name, a.login_time, a.logout_time, a.auto_type, Max (b.group_name)

    from test_table a, b root_table

    where a.customer_name = b.customer_name

    Group of a.customer_name, a.login_time, a.logout_time, a.auto_type

    As the 'invalid' value is greater than the value "GROUP_1" (based on the number of letter in English), the GroupName is returned as 'invalid '. I want to bring the GroupName based on the navigation_time column in the root_table so that it always returns a valid GroupName. Please help me.

    Output current:

    Client_name.      Login_Time.     Logout_Time |     Auto_Type |     GroupName

    --------------------------------------------------------------------------------------------------------------------------------------------

    John |     05/12/2013 5:04:01.512000 PM |     05/12/2013 5:27:31.308000 PM |     SIMPLE |     Not valid

    David |     05/12/2013 6:33:01.308000 AM |     05/12/2013 6:45:01.112000 AM |     SIMPLE |     Not valid

    Expected results:

    Client_name.      Login_Time.     Logout_Time |     Auto_Type |     GroupName

    --------------------------------------------------------------------------------------------------------------------------------------------

    John |     05/12/2013 5:04:01.512000 PM |     05/12/2013 5:27:31.308000 PM |     SIMPLE |     GROUP_1

    David |     05/12/2013 6:33:01.308000 AM |     05/12/2013 6:45:01.112000 AM |     SIMPLE |     GROUP_5

    Thank you!

    Adding INSERT statements, current and planned outputs.

    This...

    SELECT client_name

    login_time,

    logout_time,

    auto_type,

    GroupName

    Of

    (select a.customer_name,

    a.login_time,

    a.logout_time,

    a.auto_type,

    b.group_name,

    ROW_NUMBER() over (PARTITION BY a.customer_name, a.login_time, a.logout_time, a.auto_type ORDER BY b.group_name) rn

    from test_table a, b root_table

    where a.customer_name = b.customer_name)

    WHERE rn = 1;

    OUTPUT:-

    =========

    David DECEMBER 5, 13 06.33.01.308000000 AM DECEMBER 5, 13 06.45.01.112000000 AM SIMPLE GROUP_5
    John DECEMBER 5, 13 05.04.01.512000000 PM DECEMBER 5, 13 05.27.31.308000000 PM SIMPLE GROUP_1

    Thank you

    Ann

  • How can I move a toolbar to combine toolbars on one line?

    I want to save space on the screen by placing multiple toolbars on the same line.

    You don't move all at once all toolbars, you move the individual elements of each toolbar to efficiently move a toolbar.

    https://support.Mozilla.com/en-us/KB/how+to+customize+the+toolbar

    http://KB.mozillazine.org/Toolbar_customization

    The add-on toolbars may or may not be as customizable as the toolbars by default. Some add-on developers do a job of "quick & dirty" when they create an extension of the toolbar and do not provide the ability to move the elements of the individual toolbar of other toolbars to save space. While other developers may allow to move things to their toolbar, but their toolbar items are stuck in their own toolbar.

  • Combination of several lines into one

    Hello

    I have a table like this

    ID | name
    1 aWord
    1 Anotherword
    2 Gisela


    I would like a result of the query, where two rows (or a lot as it is in the table, with this id) to put in a string separated by commas, like this "aWord, Anotherword" ID = 1. Preferably, I would like to avoid using cursors...

    Any help on this is appreciated.

    Thank you

    /David N

    Like this...

    SQL> ed
    Wrote file afiedt.buf
    
      1  select deptno, ltrim(sys_connect_by_path(ename,','),',') as enames
      2  from (
      3        select deptno, ename, row_number() over (partition by deptno order by ename) rn from emp
      4       )
      5  where connect_by_isleaf = 1
      6  connect by deptno = prior deptno
      7         and rn = prior rn + 1
      8  start with rn = 1
      9* order by deptno
    SQL> /
    
        DEPTNO ENAMES
    ---------- --------------------------------------------------
            10 CLARK,KING,MILLER
            20 ADAMS,FORD,JONES,SCOTT,SMITH
            30 ALLEN,BLAKE,JAMES,MARTIN,TURNER,WARD
    
    Or to ensure names are distinct...
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  select deptno, ltrim(sys_connect_by_path(ename,','),',') as enames
      2  from (
      3        select distinct deptno, ename, dense_rank() over (partition by deptno order by ename) rn
      4        from emp
      5       )
      6  where connect_by_isleaf = 1
      7  connect by deptno = prior deptno
      8         and rn = prior rn + 1
      9  start with rn = 1
     10* order by deptno
    SQL> /
    
        DEPTNO ENAMES
    ---------- --------------------------------------------------
            10 CLARK,KING,MILLER
            20 ADAMS,FORD,JONES,SCOTT,SMITH
            30 ALLEN,BLAKE,JAMES,MARTIN,TURNER,WARD
    
    SQL>
    
  • Combination line point cloud, or disperse with trend marker

    Hi all

    I need a line and dispersion of APEX 4.2 combination...

    Looks like AnyChart can do it now...

    See:

    Scatterplot: combination of line and marker Charts & lt; / title & gt; & lt; link href = & quot;... /styles/Sample-Toolbar.CSS & quot;...

    And it seems that from the APEX 4.2 yet we cannot do this, if I saw the reference in this forum for a request for improvement for the next version (thank you Hilary)

    In the meantime, so I have something...

    The need is for a set of guidelines - a box has peaked, for example - to illustrate clearly the points in and out of the limits of quality.  In our case, the solid lines are constant for all parcels.  Dispersion points, and the series will change according to the data.

    In addition, the guide or trend lines are not horizontal or straight - they form a peak, as the roof of a House.

    I use trend lines, or I could use thresholds (backstory).  So far I do not see how to build a sharp trend line, or a threshold area has peaked.  Is it possible > I'm still looking.

    Suggestions?

    Thank you

    Karen

    I figured out and just make a simple line - scatterplot.

    The trick is, start with the line chart, several series, and then change one or more of the series until the marker using the series Type selection list.

    When you start with a Scatter Plot, but this may be more close to what you want in the end, the series Type selection list isn't here.

    Reason: Request for a point cloud format is different - you can't dynamically change the type series unless the same query format applies.

  • How to combine two picturesinto one

    I have 2 photos of people and I would like to combine them into a single image

    Hello

    PhotoShop (Adobe) and PhotoPlus (Serif) will allow that and both have communities of support
    and support forums. Of course, these are commercial programs.

    Here are some free ways to help:

    How to combine multiple Digital Photos into one
    http://www.Dummies.com/how-to/content/how-to-combine-multiple-digital-photos-into-one.html

    Check in the Forums of IrfanView.

    IrfanView - free (also get Plug-ins)
    http://www.IrfanView.com/

    IrfanView - Forums
    http://IrfanView-Forum.de/Forum.php

    This research should help to:

    Bing - Vista combine photos
    http://www.Bing.com/search?q=Vista+combine+photos&QS=n&Form=QBLH&PQ=Vista+combine+photos&SC=0-0&SP=-1&SK=

    Google - Vista combine photos
    http://www.google.com/#hl=en&sclient=psy-ab&q=vista+combine+photos&oq=vista+combine+photos&aq=f&aqi=g-v1&aql=&gs_l=hp.3..0i15.2387l9500l0l9943l22l17l1l1l1l0l2003l15023l2-5j2j6-4j3j2j1l19l0.llsin.&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=50aeccfec5fc8449&biw=1024&bih=713

    I hope this helps.

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

  • How can you remove a line from one of your paintings?

    I am an artist and I was looking at my paintings. I was able to move the mouse on one of the paintings, and he left a black line, about two inches long. I have to

    get it off because he ruined the paint. The question is, how can I remove this line of paint?  I hope someone has the answer. Are there

    some sort of button cancel?  I'd appreciate certainly any kind of help.  I wouldn't have another one of this painting to my photo scan files.

    Emma

    Ken knows much more about such problems, he will need to know what program allows you to analyze the paint and what program you were using at the time of the accident occurred.

    In the meantime, you do not have a backup of paint?  You can try this > right click on the painting > choose Properties > click on the ' previous versions tab.  I'll take some time to find a previous version if at all, but don't wait.

  • combine lines

    I have some data in this format.  The pass by name even has several lines where value1 associates in accociates ID1 and ID2 to Value2.

    Name ID1 ID2 value1 value2

    -----------------------------------------

    2 134134 name1

    1 435345 name1

    2 234234 name2

    1 546456 name2

    Is it possible to build a query to produce a result as below?  Basically, to combine the values of the IDS as under the same name?  Thanks for the help.

    Name ID1 ID2 VALUE2 value2

    -----------------------------------------

    1 2 435345 134134 name1

    1 2 546456 234234 name2

    with

    data in the form of

    (select 'name1' null name id1, id2 2, null value1, value2 134134 of all the double union)

    Select 'name1', 1, null, 435345, null of union double all the

    Select the option 'name2', null, 2, null, 234234 Union double all the

    Select 'name2', 1, null, 546456, null of the double

    )

    Select name, max (id1) id1, max (id2) id2, max (value1) max (value2) value2, value1

    from the data

    Group by name

    by name

    NAME ID1 ID2 VALUE1 VALUE2
    Name1 1 2 435345 134134
    name2 1 2 546456 234234

    Concerning

    Etbin

  • Value of the text field on a form disappers when clicking on an intem line in one grid other than line 1.

    Essentially we are dumping a log in a grid file 'go block '.  As part of the form, we'll add two variables (in the same datablock) like other variables of the grid.  These descriptive variables are order and the line number and are located above the grid.  When the user clicks on any other topic but line 1 these values are empty.  If they click line 2 they are virgins but if they click back online a those values reappear.

    Somehow, they relate to thoughts of one line - all about what I'm doing wrong.

    Thanks in advance.


    Dear Sir

    The value that you assign is the first record only. This is why his watch when're it in the first record. How you assign values to the block (grid) of detail? If you use to insert lines, then you must write the code to assign values to these fields inside the loop.

    Manu.

Maybe you are looking for