Drop grouping in one line

I searched everywhere for this answer but can't find what I need.

I finally stopped my drop-down list to push lower content of the road... but now it is grouping all three sub-lists in one line. I'm stuck. Also, if someone could help me keep tab highlighted when this page is active, that would be great. If the code appears twice, or seems confused, I'm sorry. I worked on this site for seven hours; my eyes are tired. Thank you very much for your help!

HTML:

< div >

< nav >

< ul >

< class li = "active" > < a href = "index.html" > home < /a > < span class = 'sr-only' > (ongoing) </span > < /li >

< li > < a href = "about.html" > on < /a > < /li >

< li > < a href = "booksnew.html" > book < /a > < /li > ""

< li > < a href = "" > < /a > work

" < ul class ="button"> < a href =" https://www.psychologytoday.com/blog/benign-neglect "target ="_blank"> Blog < /a > < /ul > .

< ul class = "button" > < a href = "samplepublicationsnew.html" > Publications sample < /a > < /ul > ""

< ul class = "button" > < a href = "recentworknew.html" > < /a > < /ul > recent work ""

" < ul class ="button"> < a href =" http://www.anthropologyofchildhood.usu.edu/ "target ="_blank"> anthropology of childhood < /a > < /ul > "

< /li >

< /ul >

< / nav >

< / div >

CSS:

Li: hover NAV a {}

text-decoration: none;

color: #ebebeb;

}

.the {}

color: #ebebeb;

}

NAV > ul {}

margin-bottom: 0px;

background: #a06f3b;

Background: RGBA (255,255,255,0);

}

NAV > ul > a {}

white-space: nowrap;

}

NAV > ul > li {}

background-color: #a06f3b;

fonts: Copperplate Gothic Light.

do-variant: small-caps;

text-align: center;

font-size: 30px;

Display: inline-table;

Width: 25%;

position: relative;

float: left;

list-style: none;

}

NAV > ul > ul {}

top: 100%;

background: transparent no-repeat scroll 0% 0%;

display: none;

}

NAV > li {}

float: left;

margin-right: 10px;

position: relative;

}

ul li: hover ul {}

Display: block;

position: absolute;

}

ul li: hover ul li {}

Clear: left;

}

button {}

do-size: 12px;

display: none;

}

Oh my God I thought of it! I'm probably happier that I should be.

button {}

do-size: 12px;

display: none;

list-style: none;

position: absolute;

background-color: #a06f3b;

Width: 100%;

border: thin solid #210E00;

}

I had to make the button class real position: absolute. Pain. In. the. End to end.

Thank you very much for your help!

Tags: Dreamweaver

Similar Questions

  • need to get only one line when you use between (date columns)

    Hi all

    create the table SAMPLE_ITEMS

    (ITEM_NO, varchar2 (10))

    Date DELIVERY_DATE,

    Number of QTY_SUM1

    Number of QTY_SUM2

    Number ITEM_QTY,

    Number ORDER_QTY,

    Number ITEM_AMOUNT,

    Number of SALES_AMOUNT

    );

    insert into SAMPLE_ITEMS values ('AAA', ' 28 / 04/2014 ',-88, 0,475,262,-123.45,-1188);

    insert into SAMPLE_ITEMS values ('AAA', ' 28 / 05/2014 ', 0, - 122, 475, 262, - 10.234,-1647);

    insert into SAMPLE_ITEMS values ('AAA', ' 16 / 06/2014. ', 0, 0,475,262,-80.59,-135);

    insert into SAMPLE_ITEMS values ('AAA', 19 December 2014 ', 0, 0,475,262,-42.29,-67.5);

    Setting out with my own query,

    ITEM_NOTRUNC (DELIVERY_DATE)QTY_SUM1QTY_SUM2ITEM_QTYORDER_QTYITEM_AMOUNTSALES_AMOUNT
    AAA28/04/2014-880475262-123.45-1188
    AAA28/05/20140-122475262-10.234-1647
    AAA16/06/201400475262-80.59-135
    AAA19/12/201400475262-42.29-67.5

    Every time I question as code

    Select * from SAMPLE_ITEMS

    where DELIVERY_DATE between April 28, 2014 ' and 19 December 2014 '-> they must pass as a parameter

    I need to get only one line

    AAA-88-122475262-256.564-3037.5

    Database 11.2.0.1.0

    Note; Please do not use MAX for Date and do not want to display Date columns in the result

    Note 1: I want to choose DELIVERY_DATE in select it also and only get a line like above the expected result

    SELECT item_no

    SUM (qty_sum1),

    SUM (qty_sum2),

    SUM (DISTINCT item_qty),

    SUM (DISTINCT order_qty),

    SUM (item_amount),

    SUM (sales_amount)

    OF SAMPLE_ITEMS

    WHERE the DELIVERY_DATE BETWEEN TO_DATE (28 April 2014 ', "dd/mm/yyyy")

    AND TO_DATE (19 December 2014 ', "dd/mm/yyyy")

    GROUP BY item_no;

    I will get

    ITEM_NO Trunc (DELIVERY_DATE) QTY_SUM1 QTY_SUM2 ITEM_QTY    ORDER_QTY TTEM_AMOUNT SALES_AMOUNT        

    AAA             12/19/2014                         -88                 -122                475                262                       -256.564              -3037.5

    OK fine, I want to choose DELIVERY_DATE as if so I'll have all the lines, but I want to only show one as shown above

    Because I do report discoverer in Oracle Apps, without taking the DELIVERY_DATE of the select query, it is not possible to move the date as a parameter

    Can you please help me how to do this?

    Thank you

    Post edited by: Rajesh123 NOTE added in the body of the Message

    Post edited by: added test Rajesh123 messages

    Maybe you want a single line in all cases

    Select si.item_no,

    start_date min (d.start_date),

    min (d.end_date) end_date,

    min (si.qty_sum1) qty_sum1,

    min (si.qty_sum2) qty_sum2,

    min (si.item_qty) item_qty,

    min (si.order_qty) order_qty,

    Sum (si.item_amount) item_amount,

    Sum (if. Sales_Amount) sales_amount

    of (start_date select to_date(:date_from,'dd-MON-yyyy'))

    to_date(:date_to,'dd-mon-yyyy') end_date

    of the double

    ) d

    left outer join

    TR sample_items

    on the si.delivery_date between d.start_date and d.end_date

    Group of item_no

    ITEM_NO START_DATE END_DATE QTY_SUM1 QTY_SUM2 ITEM_QTY ORDER_QTY ITEM_AMOUNT SALES_AMOUNT
    - 01/01/1900 31/12/2000 - - - - - -

    Concerning

    Etbin

  • Single - row subquery returns more than one line.

    Hi Experts

    I am faced with error

    ORA-01427: single - row subquery returns more than one line.

    MyQuery is:

    select
       TO_CHAR(T.MR_REG_DATE,'DD')                     "DATE"
       ,CASE  
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) between 0 and 1 THEN ' 01'||'  - ('||'0 - 1 Month)'
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||'  - ('||'2 - 12 Months)'
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||'  - ('||'1 - 5 Years)'
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||'  - ('||'5 - 10 Years)'
         WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) > 120 then ' 05'||'  - ('||'> 10 Years)'
        END age
      ,count(T.Mr_Code) No_of_Patient
      ,(  SELECT count(x.mr_code) mr_code
             FROM HMIS_MRINFO X
             where X.mr_reg_date between &FRM_DATE AND &TO_DATE
               and X.mr_code NOT in (select Y.mr_code from hmis_pat_add_dis_detail Y
                                      WHERE Y.mr_reg_date between &FRM_DATE AND &TO_DATE
                                    )
            GROUP BY CASE  
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) between 0 and 1 THEN ' 01'||'  - ('||'0 - 1 Month)'
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||'  - ('||'2 - 12 Months)'
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||'  - ('||'1 - 5 Years)'
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||'  - ('||'5 - 10 Years)'
                       WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) > 120 then ' 05'||'  - ('||'> 10 Years)'
                      END 
      ) Missing_MR
    from hmis_mrinfo T,hmis_pat_add_dis_detail M
    where T.mr_code = M.mr_code(+)
      and T.mr_reg_date between &FRM_DATE AND &TO_DATE
      &AGE_GRP
    GROUP BY T.MR_REG_DATE
             ,CASE  
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) between 0 and 1 THEN ' 01'||'  - ('||'0 - 1 Month)'
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||'  - ('||'2 - 12 Months)'
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||'  - ('||'1 - 5 Years)'
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||'  - ('||'5 - 10 Years)'
               WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) > 120 then ' 05'||'  - ('||'> 10 Years)'
              END 
    ORDER BY T.MR_REG_DATE;
    

    Please give some advice / solution.

    I think this might do it for you

    Select

    TO_CHAR (T.MR_REG_DATE, 'DD') "DATE."

    CASE

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) between 0 and 1 THEN ' 01' |'.  - ('||' 0-1 month)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02' |'.  - ('||' 2-12 months)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03' |'.  - ('||' 1-5 years)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04' |'.  - ('||' 5-10 years)'

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) > 120 then ' 05' |'.  ' - ('| ' > 10 years).

    Age of the END

    count (T.Mr_Code) No_of_Patient

    , count (case when t.mr_code NOT in (select Y.mr_code from hmis_pat_add_dis_detail Y))

    WHERE Y.mr_reg_date between & FRM_DATE AND & TO_DATE)

    then t.mr_code

    (end) Missing_MR

    of hmis_mrinfo T, hmis_pat_add_dis_detail M

    where T.mr_code = M.mr_code (+)

    and between T.mr_reg_date & FRM_DATE AND & TO_DATE

    & AGE_GRP

    T.MR_REG_DATE GROUP

    CASE

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) between 0 and 1 THEN ' 01' |'.  - ('||' 0-1 month)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02' |'.  - ('||' 2-12 months)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03' |'.  - ('||' 1-5 years)"

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04' |'.  - ('||' 5-10 years)'

    WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) > 120 then ' 05' |'.  ' - ('| ' > 10 years).

    END

    ORDER BY T.MR_REG_DATE;

  • Toggleing alphebetical grouping on one of my folders

    How can I disable alphebetical grouping on one of my folders

    Not sure exactly what you mean. Press Alt + V and see the Sort By, Group By , and stack of submenus.

  • Need to align the two radio buttons in one line

    Hi all

    In my BlackBerry Application, I have a part of the user interface where I need to align two radio buttons in one line.

    I used the code to design the user interface, but the two radio buttons below are overlapping.

    SerializableAttribute public class BBSettingsScreen extends form {}

    Rbg RadioButtonGroup = new RadioButtonGroup();

    RadioButtonLayout raButtonLayout = new RadioButtonLayout();

    raButtonLayout.add (new RadioButtonField ("ONE", rbg, true, RadioButtonField.FIELD_RIGHT));
    raButtonLayout.add (new RadioButtonField ("TWO", rbg, false, RadioButtonField.FIELD_LEFT));

    Add (raButtonLayout);

    SerializableAttribute public class RadioButtonLayout extends Manager {}

    public RadioButtonLayout() {}
    Super(Manager.VERTICAL_SCROLL |) Manager.RIGHTMOST);
    }

    protected void sublayout (int width, int height) {}
    Field field;
    get the total number of areas falling under this Manager of
    int numberOfFields = getFieldCount();
    int x = 0;
    int y = 0;
    for (int i = 0; i)< numberoffields;i++)="">
    field = getField (i); get the field
    setPositionChild(field,x,y); set the position of the field

    layoutChild (field, width, height); Spread the field
    x += 30;
    }

    width = 70;
    height = 20;

    setExtent (width, height);
    }

    }

    }

    Please help on this...

    Thank you & best regards

    Chintada Ravikumar

    Try this:

    RadioButtonGroup rgb=new RadioButtonGroup();
    HorizontalFieldManager hr1=new HorizontalFieldManager(FIELD_HCENTER);
    RadioButtonField radioOne=new RadioButtonField(" RadioOne",rgb,true)
    {
        protected void layout(int width, int height)
        {
            super.layout(75,30);//Width and height according to the button name;
            setExtent(75,30);//width and height according to the button name;
        }
    };
    hr1.add(radioOne);
    RadioButtonField radioTwo=new RadioButtonField(" RadioTwo",rgb,false)
    {
        protected void layout(int width, int height)
        {
            super.layout(75,30);//Width and height according to the button name;
            setExtent(75,30);//Width and height according to the button name;
        }
    };
    radioTwo.setPadding(0, 0, 0, 20);
    hr1.add(other);
    add(hr1);
    
  • HP deskjet 5150 does only print one line at a time

    My deskjet 5150 worked very well until another paper went through and stuck.  I was able to pull the tail of the outside before he completely crossed, thus eliminating the document.  After that, the printer went from normal to print to print one line at a time, with long breaks between the two, such that a journal would take several minutes to print.

    It happened before, and it seems that one of the many random things that I try finally works (striking out the cartridges, etc.), or he decides to forms and works correctly at some point anyway.  I don't know what is the actual active ingredient.  However, it has recovered from such behaviour several times before.

    I should mention that this malfunction/recovery routine began and most recently occurred when connected to my old iBook G4 Mac computer.  I have just this week has changed to a MacBook Pro, the latest operating system running, and the printer is not different.  It prints one line at a time.

    I don't know when this has happened to the other HP printers that I had in the past, I just put away, not realizing that they still had plenty of life in them left.  This one, I have "revived" several times already.  But how, I'm not sure!

    You have any ideas?

    Hi there chitownchic,

    I suggest paper paper jam for the troubleshooting steps that are recommended for the jamming problem you had. Generally a very good cleaning of the rollers will help a little, and also a power reset.

    "Paper jam" Error Message on the computer

    I hope that helps!

    Have a great day, thanks for posting in the community

  • Link from Oracle to MySQL database select only one line

    Hello

    I created a connection to the batabase Oracle 11.2 to a MySQL database via a database link. The following statement shows that 35 lines are in the mySQL table:

    SQL > select count (*) from 'main_pages"@MOREWEB;

    COUNT (*)

    ----------

    35

    But a normal select statement only return 1 row.

    SQL > select 'subject' of 'main_pages"@MOREWEB;

    Object

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

    Übersicht: references

    I use the mysql-connector-odbc driver - 3.51.30 - winx64. One is the newer version be installed because on Windows Server 2008 R2, I get an error with a missing dll file. The DataDirect ODBC driver is not possible, because we like to use the MySQL-database free one only support for DataDirect enterprise edition.

    I have also tried to limit the HS_OPEN_CURSORS or do not limit the HS_FDS_FETCH_ROWS, but there is no difference in the result. I always get only one line.

    HS Init.ora

    # This is an example of initialization file of the agent that contains the HS settings

    # necessary for the database to ODBC gateway

    #

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = moreweb

    HS_FDS_TRACE_LEVEL = WE

    HS_FDS_FETCH_ROWS = 1

    #

    # Required for the non-Oracle system environment variables

    #

    #set < varenv > = < value >

    HS trace file

    Oracle Corporation - MITTWOCH 5 November 2014 13:56:22.066

    Heterogeneous Agent release

    11.2.0.1.0

    Oracle Corporation - MITTWOCH 5 November 2014 13:56:22.066

    Version 11.2.0.1.0

    HOSGIP to 'HS_FDS_TRACE_LEVEL' returned 'ON '.

    HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.

    HOSGIP to 'HS_FDS_FETCH_ROWS' returned '1 '.

    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".

    HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "

    HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.

    HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.

    HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.

    HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.

    HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.

    HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.

    HOSGIP for "HS_FDS_TRANSACTION_LOG" returns "HS_TRANSACTION_LOG".

    HOSGIP to 'HS_FDS_TIMESTAMP_MAPPING' returned 'DATE '.

    HOSGIP to 'HS_FDS_DATE_MAPPING' returned 'DATE '.

    HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.

    HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.

    HOSGIP to 'HS_FDS_RESULTSET_SUPPORT' returned 'FALSE '.

    HOSGIP to 'HS_FDS_RSET_RETURN_ROWCOUNT' returned 'FALSE '.

    HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.

    HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.

    using mpgw as the default value to "HS_FDS_DEFAULT_OWNER".

    HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.

    SQL text of hgopars, id = 1, len = 36...

    45 00: 53454 C 43542043 4F554E54 282 HAS 2920 [COUNT (*) SELECT]

    10: 46524F4D 20606D 61 696E5F70 61676573 [FROM ' main_pages]

    20: 60204131 [' A1]

    Delayed open until the first fetch.

    Deferred execution open.

    SQL text of hgopars, id = 1, len = 40...

    45 00: 53454 C 43542041 312E6073 75626 has 65 [SELECT A1.' subje(1)]

    10: 63746020 46524F4D 20606D 61 696E5F70 [ct' FROM ' main_p]

    20: 61676573 60204131 [ages A1]

    Delayed open until the first fetch.

    Deferred execution open.

    Please can someone help me.

    Thank you.

    Bianca

    Bianca,

    Everything I've read on this point to a need to install/reinstall the Microsoft Visual C++ Redistributable Package for windows OS 2008.

    You will need to download the appropriate version for your microsoft form system.  There is a lot of information on this topic.  Just

    search on the web, and it should help you in the right direction.

    Thank you!
    Matt

  • table is expected to insert only one line

    Hi all

    my need is to create the table that allows to insert only one line.

    How can I make it?

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    "CORE 11.2.0.1.0 Production."

    AMT for Linux: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Hello

    2621671 wrote:

    Hi all

    my need is to create the table that allows to insert only one line.

    How can I make it?

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    "CORE 11.2.0.1.0 Production."

    AMT for Linux: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    You can create a unique Index based on a function, like this:

    CREATE UNIQUE INDEX table_x_u ON table_x (NVL2 (col_1, 1, 1));

    You can use any column of any data type.  In other words, the function may return a NUMBER, if the column referenced in the function is a NUMBER.

    Regardless of whether the column is NULL or not; not more than 1 rank is authorized.

  • Subtotals - delete if there is only one line?

    I'm sure I know the answer to that, but is there a way of subtotals to remove if there is only one line? It doesn't seem to be any documented to do this, but I wonder if anyone has found a kind of workaround...? ... Registry entry?

    I am using Desktop, verision 10.1.2.2

    Thank you!

    Hello
    There is no global setting, but you can remove them on a basis of total per total.

    You change the total and check the box that says do not appear in total for a single line, but like I said you need to do this on a basis of total per total.

    Best wishes
    Michael

  • Merge only one line on several lines

    I need prepare a merge statement that merge only one line in a table. Here is the table definition, data instruction and fusion sample, I used.
          CREATE TABLE Mob_Attr (NAME VARCHAR2(20), ATTR_1 VARCHAR2(20), ATTR_2 VARCHAR2(20), ATTR_3 VARCHAR2(20));
          CREATE TABLE Mob_Desc (NAME VARCHAR2(50), ATTR_1 VARCHAR2(20), ID NUMBER(20));      
          CREATE TABLE Mob_Main (NAME VARCHAR2(20), ATTR VARCHAR2(20), ID VARCHAR2(10));     
          
          insert into Mob_Attr(name, attr_1, attr_2,attr_3) values ('n1','aa',null,null);
          insert into Mob_Attr(name, attr_1, attr_2,attr_3) values ('n2','bb',null,null);
          insert into Mob_Attr(name, attr_1, attr_2,attr_3) values ('n3','cc',null,null);
          insert into Mob_Attr(name, attr_1, attr_2,attr_3) values ('n4','dd',null,null);
          
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n1','aa',10);
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n1','aa',15);
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n1','aa',123);
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n1','aa',1455);
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n2','bb',455);
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n2','bb',135);
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n3','cc',15);
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n3','cc',52);
          insert into Mob_Desc (NAME,ATTR_1,ID) values ('n4','dd',1455);
          
          merge into Mob_Main ma using
          (select d.name, d.attr_1,d.id from Mob_Attr a, Mob_Desc d
          where a.name = d.name and a.attr_1 = d.attr_1
          ) q on (ma.name=q.name and ma.attr=q.attr_1)
          when not matched then
          insert (NAME,ATTR,ID)
          values (q.name,q.attr_1,q.ID);
          
    Merge statement above will actually merge complete data. But I want that the first line will only get inserted to the base table (Mob_Main). If we take the "n1" name first row in the table with the ID Mob_Desc '10' should get only inserted. I go for a cursor to do what I have given huge volume, I prefer the merger instead.
    MERGE INTO Mob_Main ma
         USING (
                  SELECT distinct d.name, d.attr_1, first_value(d.id) over (partition by d.name, d.attr_1 order by d.rowid) id
                  FROM Mob_Attr a, Mob_Desc d
                  WHERE a.name = d.name AND a.attr_1 = d.attr_1
                 ) q
            ON (ma.name = q.name AND ma.attr = q.attr_1)
    WHEN NOT MATCHED
    THEN
       INSERT     (NAME, ATTR, ID)
           VALUES (q.name, q.attr_1, q.ID);
    COMMIT;
    
    select *
    from Mob_Main
    order by name, id;
    
    NAME                 ATTR                 ID
    -------------------- -------------------- ----------
    n1                   aa                   10
    n2                   bb                   455
    n3                   cc                   15
    n4                   dd                   1455      
    
    4 rows selected.
    
  • single-line subquery returns moret one line han

    UPDATE T74
    SET LORRYOWNERNAME = 'BELLA. "
    OWNERFATHERNAME = "GHANIMIYA"
    AND
    (SELECT T74 INVOICEDATE, T74A WHERE T74.) REFERENCENO = T74A. REFERENCENO AND T74. "LORRYNO ="KA05AA4916"AND INVOICEDATE > = February 25, 2011")
    = February 25, 2011 "
    my inner query returns 5 rows ihave to update only the data that are greater than 25 February 2011"
    not below when I use > = any it updates all rows, if I removed everything he is in error:
    single-line subquery returns moret one line han


    could you please correct the query

    Published by: 848525 on Sep 7, 2011 12:18 AM

    Try

    UPDATE T74
    SET LORRYOWNERNAME='BASHA',
    OWNERFATHERNAME='GHANIMIYA',
    PANNO='AGNPD4113G'
    WHERE LORRYNO='KA05AA4916'
    AND exists
    (SELECT INVOICEDATE FROM T74A WHERE T74.REFERENCENO=T74A.REFERENCENO  AND INVOICEDATE>='25-FEB-2011') 
    

    do not duplicate the post please

    Published by: Alexandr Sep 6, 2011 23:52

  • Syntax of content streams - two commands on one line

    Hello

    I developed PDF parser for partial application and it works for most PDF I need.

    But recently I came across the piece of code that looks like this:

    BT
    /T1 1 Tf
    12 0 0 12 21.7323 769.5831 Tm
    (A)Tj
    -0.01 Tw 11.4 0 0 12 57.7323 769.5831 Tm
    [(P)25(od )35(...)]TJ
    0.134 Tw -30.43 -1.056 Td
    0 Tw (-)Tj
    0.087 Tw T*
    
    ET
    

    There are two commands on one line (Tw and Tm, Tw and Td, Tw and Tj, Tw and T * etc.) and Adobe Reader displays PDF file very well.

    (1) how it is supposed to be threaded? First TW and Tm Tm, or seconds first (take 6 arguments and check if there is anything left) and Tw as second operation?

    (2) where this situation is documented in the PDF reference? I want to check for general handling avoid another flaw in my application.

    Thank you

    The only requirement in a content stream is that there are some 'spaces' between operators and operands.  If this space is a space, tab, line break, etc. belongs to the PDF producer.  In more recent writers of PDF, there are NO jumps line (CR/LF) and only spaces.

    (the exception to this rule is inline images)

  • Spry Menu text cannot in one line?

    Hi all

    Need your help!

    I always have this problem when I put the text in the menu spry, then the text as the subject bonvo / tab division business is on 2 lines in IE and firefox. But in safari, the text is page layout if well on a single line.

    Please refer to this link http://bonvo.com/corporate/index291009.html

    I try to change the width in css as in auto, 100% and inherit, but no difference and the best is that I use 100%.

    Anyone know how well mount a line whithout making the smallest font size?

    Thank you

    Try to play with the widths on the padding in this rule:

    UL. MenuBarHorizontal a
    {
    display: block;
    cursor: pointer;
    background-color: #F47820;
    padding: 5px;
    color: #FFF;
    text-decoration: none;
    }

    padding was set to 1em and when I changed it to 5px instead, the list of the top menu was all in one line, however, I could not test this in Internet Explorer, so don't know if that makes a difference in IE.  Try to change the fill to the pixels in the difference of the sizes and see if it does better.

  • Dynamic text to scroll more than one line

    Hello, been racking my brain for weeks with that. trying to get my external dynamic text loaded to scroll. My code to do appear and scroll down to a single line at a time works fine, but if I replace the code 'scroll buttons' with the code "NEW buttons scroll" to try to get the ti to scroll more than one line - it scrolls is no longer at all. I included my code below in the hope that maybe, it is a problem of simple target path. Thank you!

    change the .scroll + / = 1 to a value greater than 1 to scroll more lines. 1 = 1 line

  • My list of selection includes values that are long enough. Can I do the drop-down list "wrap text" so that it is not on one line?

    According to the title. My drop-down list offers entire sentences, which sometimes extend over the entire page that I don't like. Can I do extend over several lines instead?

    Daniel Jakes wrote:

    According to the title. My drop-down list offers entire sentences, which sometimes extend over the entire page that I don't like. Can I do extend over several lines instead?

    Lol this is not possible in the standard selection lists. The element plugin Select2 can support this, but this looks like a redesign of the interface user is really necessary. Radio buttons or check boxes are a better choice to make selections of the options with long descriptions. Redesign/reformulation of the interface would be the best approach. What are these options? Why are they used?

Maybe you are looking for

  • The charger needs to be connected all the time to the laptop?

    Please could I will forgive me if I posted this in the wrong thread. I'm new here and was not entirely sure where to post this. I have a Lenovo ideapad laptop, and choosing options for power management, I opted for the best battery. My laptop charge

  • How to rehabilitate the Parental control?

    During the installation process of Windows 7, I made a mistake: I chose the domain Mode (when should I choose the user Home Mode) there are three butterflies. When I try to run games with side as an adult, I have can´t access.  It appears messages li

  • HP Officejet 6600

    I have a HP Officejet 6600. I'm away for 3 to 4 months each winter. What are the advantages and disadvantages of letting the printer on and connected vs turn it off and cutting power? Also, it is based to leave the printer on and assistance service o

  • Vista sp2 problem.

    When I try to download sp2 for vista 32 x XP Home Edition, after a reboot! 0xc0190036! 1647/46888 (ntevt.dll) appears and freezes my pc. How to solve it.

  • delete mutiple files problem

    I can't remove the multilple files. My Shift and Control keys function normally but doesn't work when I try not and multiple delete. I can delete individually.