missing documents

I would like to get her out only specific to my list.
expected results bb 100
select ename,sal from emp where (ename,sal)  in (('KING',5000),('ADAMS',1100),('bb','100'));
The above will give you only two records
'KING' 5000
"ADAMS' 1100

I need a bb 100 output that is missed record.
Actual production is to give all the records. How can I change the sql to find the records that do not exist in the table emp from my list.

Published by: 893185 on February 8, 2012 13:17

corrected the post above

Concerning

Etbin

Tags: Database

Similar Questions

  • Time Machine is unable to locate my missing document

    TIme Machine opens ok, I select Pages, TM back in time, I don't want to restore at this point, I click on Pages and a window says it's 'size calculation' forever. I am not able to focus on my missing document. What I am doing wrong?

    Is there a reason that miss me that you posted this on Photos for Mac forum?

    You can not open file from a TM backup - you must use the TM = tipn applicai to restore then you open once they have been restored

    Use Time Machine to back up or restore your Mac - Apple Support

    http://pondini.org/TM/FAQ.html

    LN

  • Windows group policy missing Document icon

    I'm dealing with the issue of icon missing document with my group policy deployment. I tried rebuilding cache icon as suggested in another thread, but who did not. I use for my deployment of user configuration group policy (Yes, I know the conventional wisdom is to use the configuration of the computer, but I'm pretty well connected to this option). In the Customization Wizard, I'm trying to set the value for the UNHCR-> AcroExch.Document.11-> DefaultIcon to point to the icon of the document in the user roaming application data. The value that I use is "[APPDATA]\Microsoft\Installer\[ProductCode]\PDFFile_8.ico,0" (without quotes). Can someone let me know if my environment variables are correct and also give some other ideas as to what I can do? Thank you very much!

    Here is the solution for those who encounter the same problem. Under editor Direct in the Customization Wizard, find all the DefaultIcon key and replace "[WindowsFolder]."

    "[% USERPROFILE] \AppData\Roaming\Microsoft\".  It of a royal pain, but with hopefully Adobe will fix this with player 12.

  • [AS] [CS5] How to check if a book file has missing documents?

    Hello

    Does anyone know how to check a file to Active Directory for missing documents using Applescript?

    Thanx

    John

    Hello

    I have not been able to access all of the properties of the content of a book like the book State, but I can get the "full name" of each one, the content of the book. As is the full path of the file to where InDesign thinks is the file, you can try to make an alias, if the file is not there it will fail. If you use a try you can take the file paths failed.

    Tell application "Adobe InDesign CS3"

    Set missingBookFiles to {}

    Repeat with x 1 as the content of the book of book 1

    value bookPath full name of book content x of volume 1

    Try

    bookPath bookPath as an alias value

    in case of error

    Copy bookPath at the end of missingBookFiles

    try to end

    end repeat

    tell the end

    return missingBookFiles

    I hope it's useful.

    Gareth

  • App missing Documents

    I recently made a few changes, accidentally turned on iCloud and

    all my data went to the cloud.

    Frustrating because I would rather have it on my computer.

    Apart from that my entire application of Documents is missing.

    It shows in the cloud and I copied the info but still do not have the

    App to put in.

    I thought about reloading Sierra.  This would help to restore the App?

    iCloud is a completely separate to your Documents folder, so at least you did drag the files to the folder of iCloud has no way he as magically put everything in iCloud.   That said, iCloud keeps a local copy of everything you put in your computer, so even if it's in icloud it is also locally stored on your computer.

    Application for documents?  Do you mean 'Finder '?  If this isn't the case, you will need to explain what app you are talking about.

    Where at - it go away to?

    Have you tried looking for him with Siri or Spotlight?

    Sierra reloading would put just as he was, but I doubt that such drastic action should be taken.

    Also ti recharge Sierra you need to clean your hard drive and start from scratch. So make sure that you back up all your files before continuing.

  • created a new account, the original admin missing documents.

    Hello
    I've always been the only user of my computer and he used regularly until I got a laptop and you have not used my XP desktop in the month because of the lack of internet at home. long story short, friend house was stolen and they lost 6 laptops, so I offered him my office so that they always have something to use.

    The problem: the computer has never had any admins set up or accounts of users on it before and I wanted to create a couple while I still keep my information private. I started by creating 1 admin account with a passowrd which was mine and then created a bit for my friend.  in the useraccounts window, he showed an account named Administrator, Fletcher (mine) and Y with the first two having admin capabilities.  After that my admin account record, try the account Y he showed a blank office but always with access to certain folders which does not bother me, but when I went back to the login screen of the 'Administrator' account had disappeared and only mine and were present.  I logged into mine that has admin properties and got an office expenses. all my files, folders and icons have disappeared. I looked in C: Documents and settings and couldn't click the folder administrator of said access denied.

    Any help is very appreciated
    Thank you

    Hello
    It is a response that I had when I had the same problem and it worked

    "Looks like you have Windows XP Pro or Media Center and use the administrator for your daily work. Then, you have created a second administrative account and the top that administrator has disappeared from the Welcome screen. This is normal because you really don't want one account administrative user on the system. If I guessed your situation correctly, you can put the built-in Administrator (the one that you use regularly) back on the Welcome screen. Keep the other administrative account as an extra in an emergency (such as when you cannot access your account daily user or forgot the password once again).

    Activate the administrator account on welcome screen - http://www.dougknox.com/xp/scripts_desc/xp_admin_ok.htm a big thank you to Malkeleah, this site for the answer
    Hope this works for you

  • FakeAlert Trojan and missing Documents

    Windows Vista SP2 on a Dell Inspiron

    McaFee Antivirus

    RAM running at about 35 to 50% and was about 80-90% when the window of Trojan has increased.

    I had a 'Windows Restore' window pop up and he started the error checking and do not close it. Window kept popping up with Trojan removed McaFee (FakeAlert! grb).

    On the Start Menu, all programs, accessories have disappeared, so could not get to the system restore.  Got in safe mode and ran diagonistics - no problems.

    Finally got the system restore to start the control panel and was able to go back to a restore point before the attack. The office is back to normal, but in IE, Favorites is empty. All files in my documents have disappered except one. Nearlly all records in images disappeared.

    Settings changed to show all hidden files and can now see all the documents and photos, but highlighted in a different color than those who were not hidden. Why documents might be hidden and is always the Trojan horse?

    Conducted a full McaFee scan and it found nothing. Downloaded spybot and performed a full scan and it found some adware but not fakealert.

    Has anyone else had the same problem?

    It is always sensible in this situation to achieve a malware check

    Start the computer in safe mode with network and download and install Malwarebytes (free version for individuals only), updated definitions and run in safe mode. Disable other security software while you do the analyses.

    http://www.Malwarebytes.org/

    Download and run SuperAntiSpyware (Free Edition)

    http://www.SUPERAntiSpyware.com/download.html

    Some malware is installing the entries of proxy server redirecting internet connections. If you encounter this problem step 2 see in the following link:

    http://www.myantispyware.com/2011/02/21/how-to-remove-Internet-Security-Essentials-virus/

  • Find the missing documents and insert accordingly

    Oracle version: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production

    Hello gurus

    I'm really grateful if someone would help out me. Thanks in advance

    Examples of data

    Drop, the creating and inserting in tables

    drop table TYPE_MST;
    drop table TYPE_VERSION;

    -------------------------
    Create Tables:

    create the table TYPE_MST
    (
    Type_desc varchar2 (15)
    );

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

    Table insert

    insert into TYPE_MST
    (
    Select 'First' double
    Union of all the
    Select 'Second' double
    Union of all the
    Select 'Third' double
    );

    --------
    create the table TYPE_VERSION
    (
    TYPE_DESC varchar2 (15).
    MIN_AGE number (5),
    MAX_AGE number (5),
    VERSION_ID number (5)
    );
    ---------
    insert into TYPE_VERSION
    (
    Select 'First', 0, 5, 100 double
    Union of all the
    Select 'First', 5, 10, 100 double
    Union of all the
    Select 'First', 11,15, 100 double
    );

    ---------

    Queries against existing data
    Select * from TYPE_VERSION;

    The query result

    TYPE_DESC, MIN_AGE, MAX_AGE, VERSION_ID

    First                      0                5               100

    First                      5                10             100

    First                      11              15             100

    My requirement is that system automatically inserts type_desc missing in TYPE_VERSION.

    For example, we have 3 Type_Desc, first, second, third, but in the TYPE_VERSION table, we have data available for only 1 Type_Desc who is "First", this system should insert the missing data in this table using existing data.

    I need result something like below:

    Required result

    TYPE_DESC, MIN_AGE, MAX_AGE, VERSION_ID

    First                      0                5               100

    First                      5                10             100

    First                      11              15             100

    Second 11 15 100

    Second                   5                10             100

    Second 11 15 100

    Third                    0                5               100

    Third                     5                10             100

    Third 11 15 100

    Thanks in advance

    Concerning

    Shu

    Hello

    It is still not clear what you want.

    That's what you want for the examples you gave:

    MERGE INTO dst type_version

    WITH THE HELP OF)

    SELECT DISTINCT

    m.type_desc

    v.min_age, v.max_age, v.version_id

    OF type_mst m

    CROSS JOIN type_version v

    )                  src

    WE (dst.type_desc = src.type_desc

    AND dst.min_age = SRC. MIN_AGE

    )

    WHEN NOT MATCHED THEN INSERT

    (dst.min_age, dst.max_age, dst.type_desc, dst.version_id)

    VALUES (src.min_age, src.max_age, src.type_desc, src.version_id)

    ;

    If she's going to do what you want in general depends on what you want in general.  As long as I don't know the General rules you want to set up, I don't know if it makes them or not.

    This does not seem a very good design.  Why do you need a table with all possible combinations?  Sounds like you're saying, for example, if 2 lines have the same value of min_age, then have the same values for max_age and version_id, too.  This 3rd Normal violares form.  Why not have a table with the possible values for min_age max_age version_id, and simply join cross which type_mst when you need to see all possible combinations?

  • missing documents under the clouds

    Back in November 2014, I put an ebook in my cloud and I can't get it back! Can anyone help

    Please see:

    Never lose your files with Adobe Creative Archive Cloud feature

    Missing user files

    Missing files compared to the creative clouds

    Concerning

    Megha Rawat

  • Place the missing documents in the list of records with a rank value

    Hi all

    I have this table:
    WITH taba AS (SELECT 99 AS id,
                         '2011-08-08' AS date_ini,
                         10 AS VALUE,
                         1 AS RANK
                    FROM DUAL
                  UNION ALL
                  SELECT 99 AS id,
                         '2011-09-08' AS date_ini,
                         11 AS VALUE,
                         2 AS RANK
                    FROM DUAL
                  UNION ALL
                  SELECT 99 AS id,
                         '2011-10-08' AS date_ini,
                         10 AS VALUE,
                         4 AS RANK
                    FROM DUAL
                  UNION ALL
                  SELECT 999 AS id,
                         '2011-08-08' AS date_ini,
                         10 AS VALUE,
                         1 AS RANK
                    FROM DUAL
                  UNION ALL
                  SELECT 999 AS id,
                         '2011-09-08' AS date_ini,
                         10 AS VALUE,
                         2 AS RANK
                    FROM DUAL
                  UNION ALL
                  SELECT 999 AS id,
                         '2011-10-08' AS date_ini,
                         10 AS VALUE,
                         3 AS RANK
                    FROM DUAL
                  UNION ALL
                  SELECT 9999 AS id,
                         '2011-08-08' AS date_ini,
                         10 AS VALUE,
                         2 AS RANK
                    FROM DUAL
                  UNION ALL
                  SELECT 9999 AS id,
                         '2011-09-08' AS date_ini,
                         15 AS VALUE,
                         3 AS RANK
                    FROM DUAL
                  UNION ALL
                  SELECT 9999 AS id,
                         '2011-10-08' AS date_ini,
                         10 AS VALUE,
                         4 AS RANK
                    FROM DUAL)
    SELECT *
      FROM taba
    And I need to return the same results but with the addition of records that have no rank. For new records the VALUE must always be zero (0) and the value of DATA_INI must have the same value as the order of the records immediately following. Just like that:
    99       2011-08-08     10     1
    99       2011-09-08     11     2
    *99       2011-10-08     0     3*
    99       2011-10-08     10     4
    999      2011-08-08     10     1
    999      2011-09-08     10     2
    999      2011-10-08     10     3
    *9999     2011-08-08     0     1*
    9999     2011-08-08     10     2
    9999     2011-09-08     15     3
    9999     2011-10-08     10     4
    I can do this using a loop procedure, but I want a filter query. ;)

    Thanks in advance.
    Filipe Almeida

    Hi, Felipe,.

    So, you want multiple copies of a few lines. In other words, if a value or rnk (RANK is not a column name right) is missing in a given id you want to with the next highest rnk and the same id line repeated 2 or maybe even several times. All copies will be identical, except that rnk will have the missing numbers, and the value will be 0 on all additional copies.

    A way to do that is to join your table (or something very similar to it, as in the example below) to a Meter of Table , which is a table (or a result set, in this example) counts 1, 2, 3,... up to however many copies may be required.

    WITH     got_rows_needed          AS
    (
         SELECT     id, date_ini, value, rnk
         ,     rnk - LAG (rnk, 1, 0) OVER ( PARTITION BY  id
                                                ORDER BY          rnk
                                )         AS rows_needed
         FROM    taba
    )
    ,     cntr               AS
    (
         SELECT     LEVEL - 1     AS n
         FROM     (
                   SELECT     MAX (rows_needed)     AS max_rows_needed
                   FROM     got_rows_needed
              )
         CONNECT BY     LEVEL <= max_rows_needed
    )
    SELECT    r.id
    ,       r.date_ini
    ,       CASE
              WHEN  c.n  = 0
              THEN  r.value
              ELSE  0
             END               AS value
    ,       r.rnk - c.n          AS rnk
    FROM       got_rows_needed  r
    JOIN       cntr             c     ON  c.n  < r.rows_needed
    ORDER BY  id
    ,            rnk
    ;
    

    By elsewhere, store date information in a VARCHAR2 column, such as date_ini, is a very bad idea. Use a DATE column.

    Published by: Frank Kulash, August 8, 2012 11:02

    RANK is a keyword from Oracle. (It is the name of a built-in function). If you specify your own columns of RANK, it will confuse people reading the code, and it can result in compiler errors, too.
    ID is also an Oracle keyword. To be sure, you can use another name, such as grp_id, instead of id.
    It is best not to name your own objects with any name of fArrondi in v$ reserrved_words.keyword.

  • outer join does not give the expected results (missing documents)

    Hello
    I have problem with outer join in OBIEE 10 g.

    I'm testing it on the model of simplified database

    STAT table with some statistics of TYPEs
    stat_date, id_type, num
    ..
    ..
    26/03/2003, 20: 1
    26/03/2003, 21: 1
    26/03/2003, 23: 1
    26/03/2003, 24, 1
    26/03/2003, 25, 1
    ..
    27/03/2003, 22, 1 <-different date here
    ..
    ..

    Table TYPES
    ID_type
    ..
    ..
    20
    21
    22
    23
    24
    25
    ..
    ..


    Physical model
    STAT >-TYPES


    AM.
    F1 (only Digital STAT table column (agg. County))
    D1 (STAT_DATE of the STAT table column only)
    D2 (source TYPES)

    D1 - inner join - < F1
    D2 - left outer join - < F1


    I would like to create simple report filtered by date with number of each type.
    I want to get this result
    ID_type County
    ..     ..
    ..     ..
    20 1
    21 1
    22 null
    23 1
    24 1
    25 1
    ..     ..
    ..     ..


    But I get this
    ID_type County
    ..     ..
    ..     ..
    20 1
    21 1
    23 1
    24 1
    25 1
    ..     ..
    ..     ..

    ID_type 22 is missing


    !!!

    I NORMALLY GET RESULT ONLY IF I DELETE RECORD ' 27/03/2003 22' OF MY FACT TABLE.

    !!!


    I have the filter on the date column D1
    STAT_DATE = 26/03/2003 or STAT_DATE is null


    BI Server running this SQL query


    Select distinct D1.c1 as c1,
    D1. C2 C2
    Of
    (select count (T17840. NUM) in c1.
    T17867.ID_TYPE C2
    Of
    Left outer join of TYPES T17867
    STAT T17840 on T17840.ID_TYPE = T17867.ID_TYPE
    where (T17840. STAT_DATE in (TO_DATE ('2003-03-26', 'YYYY-MM-DD')) or T17840. STAT_DATE is null)
    T17867.ID_TYPE group
    ) D1


    Can you give me some advice?

    Thank you

    Hi cardel,

    I think that you can achieve your goal if you build a dimension of the array STAT form, you can create a table Alias in the physical layer and then to join the table of facts (external to the left). In this way, I think that you can solve your problem.

    Let me know.

    Kind regards
    Gianluca

  • Missing documents for Oracle 11 g TDE database master key?

    I looked through all the "Oracle Database 11 g Release 2 (11.2) Documentation" searching for details of the main encryption key used for transparent encryption of data (TDE) with HSM. It there was only one very brief reference that says that it uses the AES.

    What has surprised me is that no word was mentioned of the AES mode (CBC, ECB, etc.) and the key length for the master key that was generated using the following command when it could have been an important information for most. I missed something? Does anyone have any ideas?

    SQL > ALTER SYSTEM SET ENCRYPTION KEY IDENTIFIED BY 'user_Id:password '.

    Develop,

    Oracle TDE specifically requests the HSM via PKCS #11 to generate a key AES 256.

    HTH, Peter

  • Missing documents (column RN) in another table

    Thanks in advance

    I have 2 tables Table_aa2 and table_aa3

    where the region and RN given lines are common

    I want to join on 2 tables and get the missing line of RN number

    (1) for example
    Example 1
    select * from table_aa3 where region = 1 order by region,rn 
    
    A     BEG     END     PROF     AVERAGE     REGION     RN
    1     0     0.1     159     159     1     1
    3     0.2     0.3     179     159     1     3
    4     0.1     0.2     250     300     1     4
    In tha above query I want to display the RN = 2 from Table_aa2 for Region = 1 by joing above output from table_aa3
    
    A     BEG     END     PROF     AVERAGE     REGION     RN
    1     0     0.1     159     159     1     1
    *2     0.1     0.2     159     168     1     2*
    3     0.2     0.3     179     159     1     3
    4     0.1     0.2     250     300     1     4
    Example 2
    
    select * from table_aa3 where region in(1,2) order by region,rn 
    
    A     BEG     END     PROF     AVERAGE     REGION     RN
    1     0     0.1     159     159     1     1
    3     0.2     0.3     179     159     1     3
    4     0.1     0.2     250     300     1     4
    5     0.2     0.3     320     250     2     1
    7     0.2     0.3     388     379     2     3
    8     0.3     0.4     379     388     2     4
    9     0.4     0.5     388     400     2     5
    10     1.5     0.6     499     500     2     6
    In tha above query I want to display the RN = 2,6 from Table_aa2 for Region = 1,2 (by joing above output from table_aa3)
    
    A     BEG     END     PROF     AVERAGE     REGION     RN
    1     0     0.1     159     159     1     1
    *2     0.1     0.2     159     168     1     2*
    3     0.2     0.3     179     159     1     3
    4     0.1     0.2     250     300     1     4
    5     0.2     0.3     320     250     2     1
    *6     0.3     0.4     250     380     2     2*
    7     0.2     0.3     388     379     2     3
    8     0.3     0.4     379     388     2     4
    9     0.4     0.5     388     400     2     5
    10     1.5     0.6     499     500     2     6
    Example 3
    select * from table_aa3 where region in(1,3) order by region,rn 
    
    
    A     BEG     END     PROF     AVERAGE     REGION     RN
    1     0     0.1     159     159     1     1
    3     0.2     0.3     179     159     1     3
    4     0.1     0.2     250     300     1     4
    11     0.5     0.6     420     448     3     1
    12     0.6     0.7     520     530     3     2
    13     0.7     0.8     540     550     3     3
    14     0.9     1     560     570     3     4
    In tha above query I want to display the RN = 2 from Table_aa2 for Region = 19by joing above output from table_aa3)
    
    A     BEG     END     PROF     AVERAGE     REGION     RN
    1     0     0.1     159     159     1     1
    *2     0.1     0.2     159     168     1     2*
    3     0.2     0.3     179     159     1     3
    4     0.1     0.2     250     300     1     4
    11     0.5     0.6     420     448     3     1
    12     0.6     0.7     520     530     3     2
    13     0.7     0.8     540     550     3     3
    14     0.9     1     560     570     3     4
    create the table TABLE_AA2
    (
    A NUMBER,
    PLEASE THE NUMBER,
    NUMBER OF END,
    NUMBER OF TEACHER,
    AVERAGE NUMBER,
    NUMBER OF THE REGION,
    NUMBER OF RN
    )
    ;

    Fast loading TABLE_AA2...
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (1, 0,.1, 159, 159, 1, 1);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (2,.1,.2,, 159, 168, 1, 2);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (3,.2,.3, 179, 159, 1, 3);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (4,.1,.2,, 250, 300, 1, 4);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (5,.2,.3, 320, 250, 2, 1);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (6,.3,.4,, 250, 380, 2, 2);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (7,.2,.3,, 379, 388, 2, 3);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (8,.3,.4,, 379, 388, 2, 4);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (9,.4,.5, 388, 400, 2, 5);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (10, 1.5,.6,, 499, 500, 2, 6);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (11,.5,.6, 420, 448, 3, 1);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (12,.6,.7, 520, 530, 3, 2);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (13,.7,.8, 540, 550, 3, 3);
    insert into TABLE_AA2 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (1, 14,.9, 560, 570, 3, 4);
    commit;



    create the table TABLE_AA3
    (
    A NUMBER,
    PLEASE THE NUMBER,
    NUMBER OF END,
    NUMBER OF TEACHER,
    AVERAGE NUMBER,
    NUMBER OF THE REGION,
    NUMBER OF RN
    )
    ;

    Fast loading TABLE_AA3...
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (1, 0,.1, 159, 159, 1, 1);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (3,.2,.3, 179, 159, 1, 3);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (4,.1,.2,, 250, 300, 1, 4);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (5,.2,.3, 320, 250, 2, 1);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (7,.2,.3,, 379, 388, 2, 3);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (8,.3,.4,, 379, 388, 2, 4);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (9,.4,.5, 388, 400, 2, 5);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (10, 1.5,.6,, 499, 500, 2, 6);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (11,.5,.6, 420, 448, 3, 1);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (12,.6,.7, 520, 530, 3, 2);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (13,.7,.8, 540, 550, 3, 3);
    insert into TABLE_AA3 (A, START, END, TEACHER, MEDIUM, REGION, RN)
    values (1, 14,.9, 560, 570, 3, 4);
    commit;

    Published by: user1849 on September 8, 2009 15:05

    user1849 wrote:
    I'm missing RN = 2 Table_aa2 when I use under request

    select nvl(a3.a,a2.a) a
    , nvl(a3.beg,a2.beg) beg
    , nvl(a3.end,a2.end) end
    , nvl(a3.prof,a2.prof) prof
    , nvl(a3.average,a2.average) average
    , nvl(a3.region,a2.region) region
    , nvl(a3.rn,a2.rn) rn
    from table_aa2 a2
    , table_aa3 a3
    where a2.a(+)= a3.a
          and a3.region = 1
          and a3.region = a2.region
          and a3.rn in(1,3)
    order by a
    

    Do not change the outer join, and then use the one I've provided ;-)

    Kind regards
    Rob.

  • Help on query for missing documents

    Thanks in advance
    Can you tell me what is wrong with the query below
    **************************************************************************************************************************
    WITH missing_time_n AS
    (
    SELECT m.*
    , ROW_NUMBER () OVER (PARTITION OF TRUNC (m.date_time, 'MI') ORDER BY m.date_time, m.description1, m.descript2) AS r_num
    OF missing_time m
    )
    AS extrema
    (
    SELECT MIN (a.date_time) AS earliest_date_time, MAX (a.date_time) AS latest_date_time FROM a missing_time_n
    )
    all_minutes AS
    (
    Earliest_date_time SELECT + ((NIVEAU-1) / (24 * 60)) AS Date_Time FROM extrema
    CONNECTION OF LEVEL < = 1 + ((latest_date_time-earliest_date_time) *(24 * 60))
    )
    two_rows AS
    (
    SELECT LEVEL AS n, "missing time" | Description (LEVEL) AS to_char dual CONNECT BY LEVEL OF < = 2
    )
    SELECT NVL (mn.date_time, am.date_time), (mn.description1, tr.description), NVL NVL (mn.descript2, tr.description)
    To all_minutes:
    CROSS JOIN two_rows tr
    FULL OUTER JOIN missing_time_n mn ON am.date_time = TRUNC (mn.date_time, 'MI')
    AND tr.n = mn.r_num
    ORDER BY mn.date_time, am.date_time, mn.r_num, tr.n
    **************************************************************************************************************************

    I want to display my output and insert records of missing time

    Original request

    In this query 09:01 and 09:03 are missing for the same date

    SQL > SELECT * FROM MISSING_TIME;

    DATE_TIME DESCRIPTION1 DESCRIPT2

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

    --------------------------------------------------------------------------------
    ------------------------------
    25/09/2003 09:00 test1 test2
    25/09/2003 09:00 test2 test3
    25/09/2003 09:02 test1 test2
    25/09/2003 09:02 test2 test3
    25/09/2003 09:04 test1 test2
    25/09/2003 09:04 test2 test3

    6 selected lines

    My output

    I want to display my output and thus place time records missing (09:01 and 09:03)

    DATE_TIME DESCRIPTION1 DESCRIPT2



    --------------------------------------------------------------------------------
    25/09/2003 09:00 test1 test2
    25/09/2003 09:00 test2 test3
    2008-09-25 09:01 lack of time lack of time 1 1
    2008-09-25 09:01 missing Time2 missing time2
    25/09/2003 09:02 test1 test2
    25/09/2003 09:02 test2 test3
    2008-09-25 09:03 lack time lack of time 1 1
    2008-09-25 09:03 missing Time2 missing time2
    25/09/2003 09:04 test1 test2
    25/09/2003 09:04 test2 test3
    **************************************************************************************************************************
    create table missing_time (date_time date, description1 varchar2 (30), descript2 varchar2 (30));

    insert into missing_time (description1, date_time, descript2)
    values (to_date (' 25/09/2003 09:00 ',' yyyy/mm/dd hh24:mi:ss'), "test1", "test2");

    insert into missing_time (description1, date_time, descript2)
    values (to_date (' 25/09/2003 09:00 ',' yyyy/mm/dd hh24:mi:ss'), "test2", "test3");

    insert into missing_time (description1, date_time, descript2)
    values (to_date (' 25/09/2003 09:02 ',' yyyy/mm/dd hh24:mi:ss'), "test1", "test2");

    insert into missing_time (description1, date_time, descript2)
    values (to_date (' 25/09/2003 09:02 ',' yyyy/mm/dd hh24:mi:ss'), "test2", "test3");

    insert into missing_time (description1, date_time, descript2)
    values (to_date (' 25/09/2003 09:04 ',' yyyy/mm/dd hh24:mi:ss'), "test1", "test2");

    insert into missing_time (description1, date_time, descript2)
    values (to_date (' 25/09/2003 09:00 ',' yyyy/mm/dd hh24:mi:ss'), "test2", "test3");
    **************************************************************************************************************************

    Your problem is the following:

    two_rows AS
    (SELECT LEVEL n, "Missing time" |) To_char (LEVEL) FROM DUAL description
    CONNECT BY LEVEL<=>

    You try to FORCE two lines when the time is missing, hwt if there were three as in the data you provided?

    Remove this bogus query you will get the best results:

    SQL > SELECT am.date_time, am.n,.
    2 NVL (mn.description1, ' lack of time ' | ') description1 am.n),
    NVL 3 (mn.descript2, ' lack of time ' | ') description2 am.n)
    4. A - all_minutes I
    () 5
    6. SELECT earliest_date_time
    7 + ((LEVEL-1) / (24 * 60)) Date_Time, LEVEL n
    8 FROM)
    9. SELECT MIN (a.date_time) AS earliest_date_time,
    10 MAX (a.date_time) AS latest_date_time
    11 FROM missing_time one)
    12 CONNECT BY LEVEL<= 1="" +="" ((latest_date_time="" -="" earliest_date_time)="" *="" (24="" *="" 60)))="">
    13-, - two_rows I
    14--(SÉLECTIONNEZ NIVEAU AS n, «Temps manquant» ||) Description of AS (LEVEL) to_char FROM DUAL
    15 - CONNECT BY LEVEL<= 2)="">
    16,-FULL OUTER JOIN
    (17)
    18 SELECT m.*, ROW_NUMBER () OVER (PARTITION OF TRUNC (m.date_time, 'MI') ORDER BY m.date_time)
    19, m.description1, m.descript2) AS r_num
    Minutes FROM missing_time m 20)
    21 WHERE am.date_time = TRUNC ((+), 'MI' mn.date_time)
    22 - AND tr.n (+) = mn.r_num
    23 ORDER BY am.date_time, am.n
    24.

    DATE_TIME DESCRIPTION1 DESCRIPTION2 N
    ---------------- ---------- -------------------- --------------------
    25/09/2003 09:00 1 test1 test2
    25/09/2003 09:00 1 test2 test3
    25/09/2003 09:00 1 test2 test3
    25/09/2003 09:01 missing 2 time 2 lack of time 2
    25/09/2003 09:02 3 test1 test2
    25/09/2003 09:02 3 test2 test3
    25/09/2003 09:03 miss 4 time 4 lack time 4
    25/09/2003 09:04 5 test1 test2

    8 selected lines.

  • Missing documents for Pix V7 and ASDM V5

    Just upgraded one of my Pix to V7.

    Now I'm looking for the "Cisco Pix Firewall and VPN Configuration Guide" and "the Cisco PIX Firewall command reference" for version 7, but I couldn't find them on the cisco site.

    Any idea where I could find them?

    Maybe I need to use the ASA guides instead?

    And I was unable to find documentation on how to install ASDM... When I upgraded to 6.3 I've had trouble finding the PDM 3.0 installation guide...

    All the tracks would contribute to

    www.Cisco.com

    right side

    Old Site Technology-Documentation

    Network security

    Select "Cisco Secure PIX Firewall.

    http://www.Cisco.com/univercd/CC/TD/doc/product/iaabu/PIX/index.htm

Maybe you are looking for

  • Contextual before accessing the e-mail dialog box

    On August 10, 2015 when I opened Firefox to access my email account, a popup dialog appeared offering online ID protection. He seemed to make an offering of Mozilla, I went and signed up for it. However, when I got to the point where they have asked

  • HP laptop - 15-ba079dx: A-10 video memory settings 9600 p HELP UEFI

    I want to change my 390 mb dedicated 3247 MB dedicated since Hp claims it can go up to 3247 MB dedicated. How can I get BIOS and change the video memory in the BIOS? How will I know where to lokk? what buttons to push? HELP and please give the info a

  • How can I remove the tab bar?

    (1) having a Tab (toolbar) decreases the size, the amount of datain a window open.(2) the information contained in the tab bar appear to be a repetition of what happened inthe address window.

  • How to get the console on cRIO based on linux?

    Hi all I develop new things on a cRIO 9068. This cRIO runs Linux RT. I built a framework of cRIO app and use for several years, I use the console to debug my code and have the status of my displayed cRIO. I can't find a way to see the console with th

  • Driver dll call

    I am writing a LabView program to control a card scanner. The manufacturer provided a DLL and some examples of C/C++ code for this.  My problem is to find a way to pass the handle from driver in LabView.  C code to call this dll looks like this: # de