Need of a column empty between the lines

Hello

Ho we can put a blank line between the lines?
 WE have data like :-

Col1     col2    col3
a            b         c
d           e          f

we want like :-

Col1     col2     col3
null       null       null
a            b         c
d           e          f         

first blank row.
Thank you
Brij

Edited by: 845712 may 7, 2012 03:31

Something like that?

SQL> select null as empno,null as empno from dual
  2  union all
  3  select empno,job from emp;

     EMPNO EMPNO
---------- ---------

      7369 CLERK
      7499 SALESMAN
      7521 SALESMAN
      7566 MANAGER
      7654 SALESMAN
      7698 MANAGER
      7782 MANAGER
      7788 ANALYST
      7839 PRESIDENT
      7844 SALESMAN

     EMPNO EMPNO
---------- ---------
      7876 CLERK
      7900 CLERK
      7902 ANALYST
      7934 CLERK

15 rows selected.

And if you want to get the word "null" then:

SQL> select 'null' as empno,'null' as job from dual
  2  union all
  3  select to_char(empno) empno,job from emp;

EMPNO                                    EMPNO
---------------------------------------- ---------
null                                     null
7369                                     CLERK
7499                                     SALESMAN
7521                                     SALESMAN
7566                                     MANAGER
7654                                     SALESMAN
7698                                     MANAGER
7782                                     MANAGER
7788                                     ANALYST
7839                                     PRESIDENT
7844                                     SALESMAN

EMPNO                                    EMPNO
---------------------------------------- ---------
7876                                     CLERK
7900                                     CLERK
7902                                     ANALYST
7934                                     CLERK

15 rows selected.

SQL>

If this answer to your question, please close the thread else continue.

Concerning
Girish Sharma

Published by: Girish Sharma on May 7, 2012 16:46

And if you want to get an empty link after each group can see reply Aketi Jyuuzou @ link below:
Print a blank line?

Tags: Database

Similar Questions

  • Code view in Dreamweaver displays large empty spaces between the lines

    See attached image. Code view shows large differences between the lines. It is not an extra space. I can't remove it. As you can see in the picture if I select the code space is attached to the code. I'm sure that it is a very simple display option change, but I've looked everywhere. I've just upgraded to the latest version of the thought of DW which may help, but he always does. How can I get rid of the extra space?

    Screen Shot 2015-12-11 at 9.29.42 AM.png

    With highlighting the way in which it is, it seems to me that you may have a corrupt police.

    Go in Edition > Preferences > fonts > mode Code and switch to Source Code Pro (if this isn't the case) or something like courier so it is.

    If it is a corrupt police, the origin of the problem, which should dissipate it.

  • How do you multiline text in a continuous form between the lines without scaling of the text?

    Help. How do you multiline text in a continuous form between the lines without scaling of the text?

    I tried to put each line of the form for amounts of specificity so that it ends at some point and does not change the text size to fit on the line but different key characters have different widths, so you do not get a length of the same line.

    I tried to remove the long text scrolling, but it changed nothing.

    I can create a text box great to fill out and have this scrolling of additional lines, but then I get too much information from people and I would need to clarify the lines behind the answer multi line text, or delete the lines...

    Is there a better solution?

    I usually just remove the lines and set the field "Does not scroll long text" so that all the text is visible. Including the lines is really only useful if the form may be printed and completed by hand, in which case you can use scripts as in this example is: http://acroscript.net/pdf/demos/multiLine_Demo1.pdf

    It works as expected in Acrobat/Reader, but not in Chrome and other PDF viewers who have little or no support for JavaScript. It uses scripts customized to validate on Focus and blur.

  • How to create a table with spaces between the lines...

    Hello

    I use jdev 11.1.1.6 and I need to insert spaces between the lines. How this can be done?

    Thank you and best regards,
    Tarun Agrawal

    Hello

    I'm sorry to forget on the spacer. You must use css like mentioned AP.

    Arun-

  • Low contrast between the lines of measurement and background

    There is little contrast between the lines of action (dark gray) and (dark gray) background in the arrange window. Did someone come with a 'fix' yet for this?

    I speak now of LPX.

    Thank you!

    Have you tried to check this box...

  • How can I close a space between the lines?

    I typed a promissory note and have extra space between the lines.  How can I close this space?

    Hello

    Click on the "Line spacing" icon in the section 'Paragraph' of the 'Home' tab This icon is the fourth first in the default icon and has a high and arrow down to it.

    Click your setting spacing appropriate line in the list that appears.

    Change the default font size

    http://www.askdavetaylor.com/change_default_font_size_in_wordpad.html

    Windows XP Professional must have a copy of the Works word processor.  It is easier to work with.

    Start > type Works

    Select the word processor from the list

    If it does not, go to C:\\Program Microsoft Works

    Search for MSWorks

    Double-click the file to launch

    The icon looks like this in Windows Vista-

  • angles between the lines

    I am trying to find a way to understand the angle between the lines. These lines will always intersect. For example, if a line has xy of 100.0 and 100 200 values and the other line has a value of 0.50 xy and 200.50. These two lines when Wescott on a graph are 90 degrees to each other. I can just find a way to do this. Any ideas?

    Here's a way to do it. You can also use the mathematical functions to make it as Lynn suggested.

    Ben

  • change the spaceing between the lines in files

    How can I change the spaceing between the lines in files

    Hello

    What do you mean exactly by change spacing between lines in files?
    Follow the given link that helps you accomplish the task.
    Change your screen resolution: http://windows.microsoft.com/en-US/windows7/Change-your-screen-resolution
    You can also view: folders: frequently asked questions: http://windows.microsoft.com/en-US/windows7/Folders-frequently-asked-questions
     
  • Insert a line between the lines

    Is it possible to add a line between the lines?

    Hello Vic,

    Yes it is.

    Place a button on your table and add the following to its click event Javascript code:

    var currentRepeatable = this.parent;
    var im = currentRepeatable.instanceManager;
    var newRepeatable = im.addInstance(1);
    im.moveInstance(newRepeatable.index, this.parent.index);
    

    You may have to replace "this.parent" in line 1 by another SOM-Expression refers to your repeatable line containing your button.

    Currently, the new instance is inserted before the line containing the button. If you want to insert, after the change of current line, the last line:

    im.moveInstance(newRepeatable.index, this.parent.index + 1);
    

    Hope that helps,

    Martin

  • It is Possible to reduce the space between the lines after < CR > a text block?

    Hello

    I paste text without ANY special models in my custom CSS layout.

    I would have less space between the line after a < CR >.

    see you soon,

    Dreamer101.1

    Using the following style rules

    p, {br}
    margin: 0;
    padding: 0;
    }

    and look at the result.

    I hope this helps

    Ben

  • remove the space between the lines of tables

    Hello

    How can I get rid of the excess space between the lines in the attached table?  It looks nice and tight in DW, but extends more place in IE and Firefox.  I tried to adjust the height of the cell but no effect.

    Thank you!  TTT

    Try to add this CSS to your style sheets 1.  It will not change the cell height, but he's going to build your lists a little.

    ul,li {line-height: 1; margin-top:0; margin-bottom:0}
    

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    www.Alt-Web.com/
    www.Twitter.com/ALTWEB
    -------------------------
    HTML Validator - http://validator.w3.org

    CSS Validator - http://jigsaw.w3.org/css-validator/

    Tutorials HTML & CSS - http://w3schools.com/

  • How to get the average between the lines are null?

    I need to get the average between the 2 positive numbers.

    Then update the table with the average for the rows that have NULL value between 2 positive numbers.

    The average will come (78 + 89) / 2 = 83.5. Round up to 84.

    Then it will be:

    04/06/13 84

    05/06/13 84

    06/06/13 84

    Regarding the 13/06/09 and 10/06/13, these values will always be NULL.

    {code}

    create the dummy (date of tmestmp of the table

    (, maxtemp number (4,0));

    insert into dummy (tmestmp, maxtemp) values (to_date('20130601','YYYYMMDD'), 70);

    insert into dummy (tmestmp, maxtemp) values (to_date('20130602','YYYYMMDD'), 81);

    insert into dummy (tmestmp, maxtemp) values (to_date('20130603','YYYYMMDD'), 78);

    insert into dummy (tmestmp) values (to_date('20130604','YYYYMMDD'));

    insert into dummy (tmestmp) values (to_date('20130605','YYYYMMDD'));

    insert into dummy (tmestmp) values (to_date('20130606','YYYYMMDD'));

    insert into dummy (tmestmp, maxtemp) values (to_date('20130607','YYYYMMDD'), 89);

    insert into dummy (tmestmp, maxtemp) values (to_date('20130608','YYYYMMDD'), 91);

    insert into dummy (tmestmp) values (to_date('20130609','YYYYMMDD'));

    insert into dummy (tmestmp) values (to_date('20130610','YYYYMMDD'));

    {/ code}

    I need the output to look like this:

    Header 1 Header 2

    1 JUNE 13

    2 JUNE 13

    JUNE 3, 13

    JUNE 4, 13

    5 JUNE 13

    JUNE 6, 13

    JUNE 7, 13

    JUNE 8, 13

    JUNE 9, 13

    JUNE 10, 13

    70
    81
    78
    84
    84
    84
    89
    91

    null

    null

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production

    PL/SQL Release 10.2.0.4.0 - Production

    "CORE 10.2.0.4.0 Production."

    AMT for 32-bit Windows: release 10.2.0.4.0 - Production

    NLSRTL Version 10.2.0.4.0 - Production

    Suggestions?

    TIA.

    Steve42

    Select tmestmp,

    NVL)

    maxtemp,

    round)

    (

    LAST_VALUE (maxtemp Ignore Nulls)

    (order tmestmp).

    FIRST_VALUE (maxtemp Ignore Nulls)

    (tmestmp order

    lines between the 1 suite and unlimited

    )

    ) / 2

    )

    ) maxtemp

    modeling

    /

    TMESTMP MAXTEMP
    ------------------- ----------
    01/06/2013 00:00:00 70
    02/06/2013 00:00:00 81
    03/06/2013 00:00:00 78
    04/06/2013 00:00:00 84
    05/06/2013 00:00:00 84
    06/06/2013 00:00:00 84
    07/06/2013 00:00:00 89
    08/06/2013 00:00:00 91

    TMESTMP MAXTEMP
    ------------------- ----------
    09/06/2013 00:00:00
    10/06/2013 00:00:00

    10 selected lines.

    SQL >

    SY.

  • Point of intersection between the line interpolated in Grapher

    How to find the point of intersection between interpolated lines using points offered as input to a file in grapher comps?

    What version of Mac OS X?

  • A1-830 flashing screen between the lines running and display

    Tablet for years.  The display of the A1-830 began yesterday flashes between the display and execution of vertical lines.  When the screen is exposed, it will accept touch and can accept requested measures.  However, cannot work between the flashing vertical lines.  Not verified no update pending.  Tried to find the rogue app, but flashing happening now every two seconds (mounted) and unable to see display for a long time.  At this stage do not know if an another alternative of data factory reset and not even sure if it would solve the problem.  Tablet not recently declined or new applications have been installed before display glitching.  Any help appreciated.

    It seems more a hardware than software problem but a factory reset is always useful to refine the culript.

    You can do the factory reset from recovery instead of the android OS.

    http://Acer-in.custhelp.com/app/answers/detail/A_ID/32849/~/factory-data-reset-on-Acer-Iconia-A1-830

    If the problem persists even after a factory reset, it's a hardware fault.

  • Any solution to LAST_VALUE with count (*) and BETWEEN the LINES without limit precedi

    I'm working on the cover search active county from COV_CHG_EFF_DATE for the ID of strategy and Futures (sample data are for a single policy). The rule for the coverage of assets are counted as below
    Transaction Type Count
    01, 02                +1
    06, 07                +1
    09, 10                -1
    03                       0
    
     
    COVERAGE_NUMBER TRANSACTION_TYPE COV_CHG_EFF_DATE  Active_Cover_Count
    01                              01                       22/OCT/2011                  2
    02                              01                       22/OCT/2011                  2
    04                              02                       23/OCT/2011                  3
    05                              02                       28/OCT/2011                  4
    05                              09                       30/OCT/2011                  2
    02                              09                       30/OCT/2011                  2
    05                              06                       03/NOV/2011                  3
    05                              03                       03/NOV/2011                  3
    05                              09                       05/NOV/2011                  0
    01                              09                       05/NOV/2011                  0
    04                              09                       05/NOV/2011                  0
    I find LAST_VALUE limit with the help of count (distinct COVERAGE_NUMBER) and the LINES BETWEEN Unbounded preceding AND 1 previous characteristic. Is there another better logical or analytical function in support of the application to calculate the value of aggregation based set of rules? Data from table and sample before if anyone find solution. Thank you.
    ----------------------------------------------------------------------------------------------------------------------------------------
    drop table PC_COVKEY_PD;
    
    create table PC_COVKEY_PD (PC_COVKEY varchar(30),
    POLICY_NUMBER varchar(30),
    TERM_IDENT varchar(3),
    COVERAGE_NUMBER varchar(3),
    TRANSACTION_TYPE varchar(3),
    COV_CHG_EFF_DATE date,
    TIMESTAMP_ENTERED timestamp
    );
    
    delete from PC_COVKEY_PD;
    
    commit;
    
    insert into PC_COVKEY_PD values ('10695337P3021MC0020012', '10695337P3', '021', '002', '02', to_date('22/OCT/2011','DD/MM/YYYY'), cast('22/SEP/2011 03:10:12.523408 AM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0010012', '10695337P3', '021', '001', '02', to_date('22/OCT/2011','DD/MM/YYYY'), cast('22/SEP/2011 03:10:12.523508 AM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0040012', '10695337P3', '021', '004', '02', to_date('22/OCT/2011','DD/MM/YYYY'), cast('22/SEP/2011 03:10:12.864153 AM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0040032', '10695337P3', '021', '004', '03', to_date('22/OCT/2011','DD/MM/YYYY'), cast('22/SEP/2011 03:10:12.865153 AM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0050012', '10695337P3', '021', '005', '02', to_date('22/OCT/2011','DD/MM/YYYY'), cast('22/SEP/2011 03:10:12.976483 AM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0020042', '10695337P3', '021', '002', '09', to_date('22/NOV/2011','DD/MM/YYYY'), cast('16/FEB/2012 02:26:00.006435 PM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0040042', '10695337P3', '021', '004', '03', to_date('22/NOV/2011','DD/MM/YYYY'), cast('16/FEB/2012 02:26:00.135059 PM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0050042', '10695337P3', '021', '004', '09', to_date('22/NOV/2011','DD/MM/YYYY'), cast('16/FEB/2012 02:26:00.253340 PM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0020042', '10695337P3', '021', '004', '03', to_date('22/NOV/2011','DD/MM/YYYY'), cast('16/FEB/2012 02:26:00.363340 PM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0040032', '10695337P3', '021', '005', '09', to_date('29/NOV/2011','DD/MM/YYYY'), cast('16/FEB/2012 02:26:00.463340 PM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0050032', '10695337P3', '021', '005', '03', to_date('29/DEC/2011','DD/MM/YYYY'), cast('16/FEB/2012 02:26:00.563340 PM' as timestamp));
    insert into PC_COVKEY_PD values ('10695337P3021MC0020012', '10695337P3', '021', '002', '03', to_date('30/DEC/2011','DD/MM/YYYY'), cast('16/FEB/2012 02:26:00.663340 PM' as timestamp));
    
    commit;
    Published by: 966820 on October 30, 2012 20:30

Maybe you are looking for

  • Mini Mac starts only once

    Hello I have an old Mac Mini since 2006 with the following configuration: 1, 66 GHz Intel Core Duo, running Snow Leopard 10.6 In recent months, it runs only once. I explain. If I shut it down, on reboot, I have Blue with grey wheel screen. I tried a

  • TOSHIBA Power Pack pack stopped working after 12 months

    Can't believe Toshiba power pack stopped working 12 months and 20 days after purchase.I bought the warranty 'extended', but it does not cover something external to the laptop. The unit itself is fine, but the Accessories pack must be less than this m

  • 6682 1588 synchronization

    Hello! I'm trying to synchronize two PXI chassis with the clocks of 1588. To do this, I use 2 6682 H PXI boards. I created a test program that: -init on 1588 (init clock, time reference, start the participation in the network of 1588) -wait you want

  • Received the phone call from scam of asking to connect to the computer

    A man with a voice of Indian call center called and asked my friend to connect to his computer because they knew that she had had problems with the help and he called for a "windows service center.  She asked for a number to call back and he hung up.

  • That is, the output when open the Word or Excel document in Sharepoint

    OS: Windows XP 32 bit sp3 IE8 When try click on open the Word document or Excel stored in Sharepoint, exit full of Internet Explorer. I suspect that the cause may be due to 1 installed Microsoft Visual C++ 2008. or 2. I made a few changes on the asso