Display data as absent from the pivot table tab

Hi all

I added a column for measures in the PivotTable. But I don't have all the data in this column c in my report itself. When I clicked the VIEW DATA AS particular column option is missing... what was not right here? Please let me know.

This type of emergency. TIA

If you are filling 'yes' or ' "then it will not appear"Show the data as"option because this option is only for numeric data type columns. You can not show age % for a varchar column. Pull this column lines or columns, accordingly and it goes to show that data. In the section all the columns must be in double or integer data type is a numeric data type and that they should have some rule aggregation applied to this topic.

You must include the varchar columns in section rows or columns.

Kind regards
Sandeep

Tags: Business Intelligence

Similar Questions

  • Failed to create the Data Source by using the pivot table query

    Hi people.

    Running Oracle BI Publisher 11.1.1.6.0

    He complains with ORA-01738: lack of KEYWORD

    When I try and a SQL query in function by using the data set:

    SELECT *.
    FROM (SELECT ist.descr |) ' '|| EIT. Descr service_type, ROUND (sum (milf.ttl_number_units)) ttl_number_units
    Of mv_iot_line_item_forecasting mllf
    Ope on ope.master_entity_id = milf.partner_master_entity_id JOIN operator
    JOIN iot_service_type on ist.iot_service_type_id = milf.iot_service_type_id ist
    JOIN iot_event_type on iet.iot_event_type_id = milf.iot_event_type_id EIT
    WHERE milf.iot_agreement_id = 2621
    AND milf.traffic_direction = 'CR '.
    AND ope.operator_type_id = pkg_ngc_constants.operator_type_id_gsm
    Ope.main_reference GROUP, ist.descr | ' '|| EIT. Descr)
    PIVOT (sum (ttl_number_units) FOR service_type IN ("Voice MO' like' voice', 'MT voice' as 'voice MT", "SMS MO" as "SMS MO", "SMS MT" as "SMS MT", "MB of data" as "MB of data"))
    order by 1


    No idea why it won't let me create?

    The query runs perfectly fine in SQL.

    Any input appreciated.

    Simon

    Can you try to change your "IN" clause to this and see if it works?

    service_type IN ("voice MO' as Voice_MO, 'Voice MT" as Voice_MT, "SMS MO" as SMS_MO, "SMS MT" SMS_MT, 'MB of data' as Data_MB)

    Thank you
    Bipuser
    Published by: BIPuser on October 18, 2012 07:40

    Published by: BIPuser on October 18, 2012 07:41

  • XML from the Oracle Table data

    Hi all

    I'm new to this network. I'm also new to oracle XML package. I want a help with the query below.

    CREATE TABLE EMP (ID NUMBER PRIMARY KEY, NAME VARCHAR2 (10), TELEPHONE NUMBER);

    INSERT INTO EMP (ID, NAME, PHONE) VALUES (11, 'Joy', 1234);
    INSERT INTO EMP (ID, NAME, PHONE) VALUES (22, 'Mike', 5678).
    INSERT INTO EMP (ID, NAME, PHONE) VALUES (33, "Jason", NULL);
    COMMIT;

    I want to export data from the EMP table in an XML file with the format below.

    Power required:

    <? XML version = "1.0" encoding = "UTF-8"? > < Joy STATICDATA > < EMP > < ID > 11 < /ID > < NAME > < / NAME > < / EMP > < / STATICDATA >
    <? XML version = "1.0" encoding = "UTF-8"? > < Mike STATICDATA > < EMP > < ID > 22 < /ID > < NAME > < / NAME > < / EMP > < / STATICDATA >
    <? XML version = "1.0" encoding = "UTF-8"? > < Jason STATICDATA > < EMP > < ID > 33 < /ID > < NAME > < / NAME > < / EMP > < / STATICDATA >

    I used some XML functions and you wrote the following query.

    Select XMLROOT (XMLELEMENT (staticdata, XMLELEMENT (EMP, XMLELEMENT(ID,ID), XMLELEMENT(NAME,NAME))), version "1.0" encoding = "UTF - 8') xml EMP;

    my query output:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < STATICDATA >
    < EMP >
    < ID > 11 / < ID >
    Joy of < NAME > < / NAME >
    < / EMP >
    < / STATICDATA >
    <? XML version = "1.0" encoding = "UTF-8"? >
    < STATICDATA >
    < EMP >
    < ID > 22 / < ID >
    < NAME > Mike < / NAME >
    < / EMP >
    < / STATICDATA >
    <? XML version = "1.0" encoding = "UTF-8"? >
    < STATICDATA >
    < EMP >
    < ID > 33 / < ID >
    Jason < NAME > < / NAME >
    < / EMP >
    < / STATICDATA >


    But I want the out as the power required above. all records in a single line. can someone help me achieve the desired output. also can I export all columns of the table with something like select * from the table in the XML file?

    Thank you
    Delobelle

    Don't know why you need it on a single line, but you could:

    Select XMLTYPE (REGEXP_REPLACE (XMLROOT (XMLELEMENT (staticdata, XMLELEMENT (EMP, XMLELEMENT(ID,ID), XMLELEMENT(NAME,NAME))), version "1.0" encoding = "UTF - 8'), CHR (10) |)) ' *<><'))>
    FROM EMP;

    SY.

  • Select values from the db1 table and insert into the DB2 table

    Hello

    I have three databases oracle running in three different machines. their ip address is different. among the DB can access databases. (means am able to select values and insert values into tables individually.)

    I need to extract data from the DB1 table (ip say DB1 is 10.10.10.10 and the user is DB1user and the table is DB1user_table) and insert the values into DB2 table (say ip DB2 is 11.11.11.11 and the user is DB2user and table DB2user_table) of DB3 that is to have access to the two IPs DB.

    How do I do this

    Edited by: Aemunathan on February 10, 2010 23:12

    Depending on the amount of data must be moved between DB1 and DB2, and the frequency at which this should happen, you might consider the SQL * COPY more control. I think it's very useful for one-off tasks little, so I can live within its limits of the data type. More http://download.oracle.com/docs/cd/E11882_01/server.112/e10823/apb.htm#i641251.

    Change some parameter of sqlplus session are almost mandatory in order to get decent transfer rates. Tuning ARRAYSIZE and COPYCOMMIT can make a huge difference in flow. LONG change may be necessary, too, depending on your data. The documentation offers these notes on use:

    To activate the copy of data between Oracle and databases non-Oracle, NUMBER of columns is replaced by DECIMAL columns in the destination table. Therefore, if you are copying between Oracle databases, a NUMBER column with no precision will become a DECIMAL column (38). When copying between Oracle databases, you must use SQL commands (CREATE TABLE AS and INSERTION), or you must make sure that your columns have a specified precision.

    SQL * the VALUE LONGER variable limits the length of the LONG column you are copying. If all LONG columns contain data exceeds the value of LONG, COPY truncates the data.

    SQL * Plus performs a validation at the end of each successful COPY. If you set the SQL * variable more COPYCOMMIT DEFINED to a value positive n, SQL * Plus performs a validation after copying all lots n of records. The SQL * Plus ARRAYSIZE variable SET determines the size of a batch.

    Some operating environments require that the service names be placed between double quotes.

    From a SQL * Plus term on DB3, can resemble the command to move all content from my_table in DB1 to the same table in DB2

    COPY from user1/pass1@DB1 to user2/pass2@DB2 -
    INSERT INTO my_table -
    USING select * from my_table
    

    Note the SQL code * more line-continuation character ' - '. It is used to escape the newline character in a SQL * Plus command if you do not have to type all on one line. I use it all the time with this command, but I can't locate the documentation on that right now. Maybe someone else can put their finger on it.

    There are other ways to accomplish what the command copy and it is not without its quirks and limitations, but I find that there is usefulness in an Oracle Toolbox.

  • ORA-22992: cannot use LOB Locators selected from the remote tables...

    Oracle 10.2.1.0.4
    Solaris 10

    We try to access a table in another database via a db_link.

    The table we are trying to access has a LOB.

    We get the following error: ora-22992: cannot use LOB Locators selected from the remote tables.

    Is there a way to get around this? We need the data in the BLOB field.

    Thank you.

    See on metalink:

    ORA-22992 has a workaround solution in 10 gr 2
    DOC - ID: 436707.1

    Werner

  • "iTunes and App Store" absent from the iPad3 iOS9.3 settings

    My iOS 8.4 iPad3 crashed, so I installed iOS9.3 and restored from my backup in iTunes.

    I had all this work, however "iTunes and App Store" are absent from the iPad settings.

    I know it's supposed to be shown just below "iCloud", but it is not at all.

    I have the App Store icon, and I am able to sign the entry/exit of the app, but I'm unable to set the automatic download option that is usually seen go in the settings.

    Check your Restrictions to see if it has been disabled, settings > general > Restrictions > iTunes Store.

  • First and After Effects are absent from the Cloud Adobe Application Manager... Please help ASAP

    First and After Effects are absent from the Cloud Adobe Application Manager... Please help ASAP

    Short and accurate: if they don't appear, your system does not support them. Refer to the plug Tech on the product pages and make your choice...

    Mylenium

  • My Photoshop CS6 compared to the clouds is absent from the FILTERS GALLERY, a adobe who has contracted one?

    My Photoshop CS6 compared to the clouds is absent from the FILTERS GALLERY, a adobe who has contracted one?

    < published by sent email address >

    There is an option to restore that.

    Photoshop/edit - Preferences - plugins, find the setting [] view all names and groups of the Gallery of filters .

    -Christmas

  • How can I get the second and third highest salary from the emp table

    How can I get the second and third highest salary from the emp table in the ecah Department
    SQL> ed
    Wrote file afiedt.buf
    
      1  select empno, ename, sal, deptno
      2  from (
      3    select empno, ename, sal, deptno, dense_rank() over (partition by deptno order by sal desc) as rn
      4    from emp
      5    )
      6* where rn in (2,3)
    SQL> /
    
         EMPNO ENAME             SAL     DEPTNO
    ---------- ---------- ---------- ----------
          7782 CLARK            2450         10
          7934 MILLER           1300         10
          7566 JONES            2975         20
          7876 ADAMS            1100         20
          7499 ALLEN            1600         30
          7844 TURNER           1500         30
    
    6 rows selected.
    
    SQL>
    
  • How to display data from the emp table?

    Hi everyone, this is my first post in this portal. I want to display the details of the table emp... for this I use this SQL statement.

    Select * from emp where mgr = nvl(:mgr,mgr);

    When I give the entry as 7698 it shows the matching records... and also when I don't give any input then it shows all the records except the Archbishop with null values.

    (1) I want to display all the records when I do not give any input, including null values
    (2) I want to display all the records that a Bishop is null

    Is it possible to integrate in order to include all these in a single query.

    Hello

    937440 wrote:
    Hi everyone, this is my first post in this portal.

    Welcome to the forum!
    Don't forget to read the forum FAQ {message identifier: = 9360002}

    I want to display the details of the table emp... for this I use this SQL statement.

    Select * from emp where mgr = nvl(:mgr,mgr);

    When I give the entry as 7698 it shows the matching records... and also when I don't give any input then it shows all the records except the Archbishop with null values.

    (1) I want to display all the records when I do not give any input, including null values
    (2) I want to display all the records that a Bishop is null

    Is it possible to integrate in order to include all these in a single query.

    It's a little unsure what you're asking.
    The following query always includes the lines where mgr is NULL and when the binding variable: mgr is NULL, it displays all the lines:

    SELECT  *
    FROM     emp
    WHERE     LNNVL (mgr != :mgr)
    ;
    

    In other words, when: 7698 = mgr, it displays 6 rows and when: mgr is NULL, it displays 14 rows (assuming you are using the table provided by Oracle scott.emp).

    The following query includes lines where Bishop is ZERO only when the binding variable: mgr is NULL, in which case it shows all lines:

    SELECT     *
    FROM     emp
    WHERE     :mgr     = mgr
    OR       :mgr       IS NULL
    ;
    

    When: mgr = 7698, this will display 5 rows and when: mgr is NULL, it displays 14 rows.

    The following query includes lines where Bishop is ZERO only when the link variab; e: mgr is NULL, in which case it shows only those rows where mgr is NULL. In other words, it treats NULL as a value:

    SELECT     *
    FROM     emp
    WHERE     DECODE ( mgr
                , :mgr, 'OK'
                )     = 'OK'
    ;
    

    When: mgr = 7698, this will display 5 rows and when: mgr is NULL, it displays 1 row.

  • Using data from the control table

    Hello

    I would like to use the data entered in a table to automate volume/sequence of airflow for a test Chamber. As shown in the screenshot of control table, the first column indicates the number of iterations by elements of array in a series of tests and the second data column specifies the length of each line sequence. Entries in the other columns are specific to different valves and specify values set required in the flow meter.

    I guess my question is how can I index/assign each column of the table such that the data to exploit the respective valves are obtained in subsequent iterations all acquire simultaneously with data from other components in the order? While I recognize that the solution may be very simple, I searched on through various examples and messages on the tables and the tables without knocking on a solution. The attached .vi allows me to be a part of the series of tests.

    Best regards

    Callisto

    Hi Callisto,

    If I understand your question then the solution is actually quite simple. The important point to keep in min is the fact that the Table control can actually be treated as an array of string. You can then use all the traditional table manipulation tools and techniques to manipulate your data as you wish. For example, use the Array Index function to retrieve specific columns and then if you want to spend the individual elements in a column in a loop, wire the table until the loop and ensure that indexing is enabled. If you then want to use these data elements to control your test application, you can convert a portion of the resulting string in more useful to digital.

    All these concepts are illustrated in the attached VI. I hope this helps, but let me know if you have any other questions.

    Best regards

    Christian Hartshorne

    NIUK

  • Rows from the outer Table shows only not all data.

    Hello

    I have a line to 80 characters that I import in an external table.

    80% imports fine line data, but some lines are cut.

    The bytes in the file are as follows.
    ABCABC2334 0000001000010000001000000001 000000 00001C A002

    Bytes in an external table.
    ABCABC2334 0000001000010000001000000001 000000 A002

    The bytes in the row of the outer table stop somewhere at the end of 000000 and the 00001C is cut.

    What build be the cause of this?

    I am able to read the characters at the beginning and towards the end of the record of 80-character line.

    The external file below performs the following operations.
    ABCABC2334 0000001000010000001000000001 000000 01B A002

    I can even make a definition of the external table (c1 char (1), c2 char (1),... c80 (1) tank and all the characters see fine in the specified columns.)

    Here is the last definition of the external table. The "middle" column still shows this behavior. Basically, it is in the file and can be seen with every character in the definined line, but not as a group of characters.

    DB CHARACTERSET WEBISO8859P1

    CREATE TABLE EXT_PROJ_1
    (
    Field1 tank (6 BYTES),
    Field2 float (4 BYTES),
    medium (67 BYTES)
    field3 tank (3 bytes),
    CR tank (2 bytes)
    )
    EXTERNAL ORGANIZATION
    (TYPE ORACLE_LOADER
    THE DEFAULT DIRECTORY EXP_DIR
    ACCESS SETTINGS
    (
    RECORDS delimited by '\r\n '.
    FIELDS (field1, position(1:6),
    position(7:10) Field2.
    average position(11:77)
    field3 position(78:80).
    CR position(81:82)
    )
    )
    LOCATION (EXP_DIR: 'ext_proj_1.txt')
    )
    REJECT THE LIMIT 1
    noPARALLEL
    NOMONITORING;

    Published by: 917320 on March 13, 2012 09:07

    Looking at your table definition:

    field1 char(6 BYTE),
    field2 char(4 BYTE),
    middle char(67 BYTE),
    field3 char(3 byte),
    cr char(2 byte)
    

    column in which you will store a string of 80 bytes?

    BTW: You said "import into an external table." You import FROM an external table or EXPORT to an external table?

  • Export data from the database Table in the CSV file with OWB mapping

    Hello

    is it possible to export data from a database table in a CSV with an owb mapping. I think that it should be possible, but I didn't yet. Then someone can give me some tips how to handle this? Someone has a good article on the internet or a book where such a problem is described.

    Thank you

    Greetings Daniel

    Hi Daniel,.

    But how do I set the variable data file names in the mapping?

    Look at this article on blog OWB
    http://blogs.Oracle.com/warehousebuilder/2007/07/dynamically_generating_target.html

    Kind regards
    Oleg

  • Absent from the report data query

    is the SQL code for the query: SELECT AD_Pref_none_pref_Arch_Domain. [Organizational units (uses)], AD_Pref_none_pref_Arch_Domain.Name, Count (AD_Pref_none_pref_Arch_Domain. [Standard and Regulation_Category]) AS CountOfPref, AS Count (AD_Pref_none_pref_Arch_Domain.Name) CountOfPNP, [CountOfPref] / [CountofPNP] AS PercentPref, ([CountofPNP]-[CountOfPref]) / [CountofPNP] AS RatioPNP
    OF AD_Pref_none_pref_Arch_Domain
    GROUP OF AD_Pref_none_pref_Arch_Domain. [Organizational units (uses)] AD_Pref_none_pref_Arch_Domain.name, [CountOfPref] / [CountofPNP], ([CountofPNP]-[CountOfPref]) / [CountofPNP]
    HAVE (((AD_Pref_none_pref_Arch_Domain. [Organizational units (uses)]) like "E S SF" & "

    Q3Z get AD sum of Total P N P1
    E S SF 1.1 data management 0 11 0.00% 100.00%
    E S SF 1.1.4 staff Master Data Management 0 1 0.00% 100.00%
    E S SF 1.1.5 product Data Management 6 9 66.67% 33.33%

    and the show report

    R3Z get AD total P N p
    E S SF 1.1 data management 0.00% 100.00%
    E S SF 1.1.4 staff Master Data Management 0.00% 100.00%
    E S SF 1.1.5 product Data Management 66.67% 33.33%

    Now I don't know what else to do. I have already created several queries to if I can find the problem, that the data displayed on the query, but once I have create the query report data is missing only the count data. Thanks for your help anyone.

    Hello

    SQL is not supported in these forums. I suggest you ask again in the dedicated Microsoft here SQL instance:

    http://social.technet.microsoft.com/Forums/en-us/category/sqlserver .

    Thank you.    :)

  • Date of max from the entire lookup table

    Hello people:

    I hope that this discussion finds you well.  I have 2 tables (MED_IMMUNO and LU_MED_IMMUNO).  "MED_IIMMUNO" is the base table, and "LU_MED_IMMUNO" is the lookup table for the column 'IMM_REC '.  Please see CFDS below:

    TABLE: MED_IMMUNO

    CREATE TABLE 'MED_IMMUNO' ('ID', 'EMP_ID' NUMBER, NUMBER OF "IMM_REC", "IMM_DATE" DATE, VARCHAR2 (255) 'IMM_NOTES', 'IMM_APPLICABLE' NUMBER, NUMBER OF "IMM_REFUSED")

    /

    INSERTION of REM in MED_IMMUNO

    TOGETHER TO DEFINE

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (55,8474,5,to_date('12-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (56,8474,6,to_date('26-JUN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (57,8474,8,to_date('10-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (58,8474,9,to_date('13-FEB-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (59,8474,10,to_date('26-JUN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (60,8474,22,to_date('10-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (61,8474,4,to_date('10-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (62,8474,16,to_date('10-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (63,8474,17,to_date('10-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (64,8474,11,to_date('10-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (65,5900,1,to_date('19-JUN-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (66,5900,2,to_date('17-JUL-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (67,5900,3,to_date('20-DEC-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (68,5900,22,to_date('19-JAN-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (69,5900,4,to_date('19-JAN-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (70,5900,14,to_date('19-JAN-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (71,5900,17,to_date('19-JAN-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (72,5900,16,to_date('19-JAN-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (73,10069,5,to_date('16-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (74,10069,6,to_date('24-FEB-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (75,10069,8,to_date('16-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (76,10069,9,to_date('24-FEB-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (77,10069,22,to_date('05-DEC-11','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (78,10069,4,to_date('02-JAN-12','DD-MON-RR'),null,null,null);

    Insert into MED_IMMUNO (ID, EMP_ID, IMM_REC, IMM_DATE, IMM_NOTES, IMM_APPLICABLE, IMM_REFUSED) values (79,10069,16, null, null, null, null);

    Try this:

    WITH max_date AS

    (

    SELECT emp_id, imm_rec, max (imm_date) imm_date

    OF MED_IMMUNO M

    GROUP BY emp_id, imm_rec

    )

    DIS_MED_IMMUNO AS

    (

    SELECT DISTINCT M.emp_id

    OF MED_IMMUNO M

    )

    tmp AS

    (

    SELECT *.

    OF DIS_MED_IMMUNO

    CROSS JOIN LU_MED_IMMUNO

    )

    Tmp.emp_id SELECT emp_id, tmp.ID, tmp. IMM_DESC, M.imm_date

    OF tmp LEFT OUTER JOIN max_date M

    ON tmp.emp_id = M.emp_id

    AND tmp.ID = M.IMM_REC

    ORDER BY tmp.emp_id, tmp.ord

Maybe you are looking for

  • Satellite A300D - 14 d - no sound on internal speakers

    Hey, I'm sorry for my bad English. I just restored my Satellite A300D - 14 d to its default settings. If all the drivers and software are as I bought the laptop. The sound worked fine but after restarting the computer laptop 2 or 3 times because of t

  • Upgrade on Satellite Pro L20 model No. PSL2YE-00E006EN

    Hello I was wondering if someone could give me some information on the upgrade of the pieces on the laptop above? (1) how much Ram can take this machine? (it has 2 slots) (2) what size is the maximum size of hard drive that I can spend? (currently ha

  • (Redirected) Motherboard laptop Dell

    I replaced a card mother m511r-m5110 with the new power module and does not light, it was also implemented in short-circuit on feeding, I removed the jury and everything disconnected from the card, but does not. I changed the module power and motherb

  • Problem to disable IPV6 router advertisements remove command

    Hello: I have a Cisco 877 with IOS: Cisco IOS software, software C870 (C870-ADVIPSERVICESK9-M), Version 12.4 (24) T6, VERSION of the SOFTWARE (fc2) I implement Hurricane Electric Tunnel Broker, but actually to do this test, I unplugged the Wan Interf

  • CISCO MX84 MERAKI

    How many WAN can be connected to the meraki mx 84 cisco? And what is the maximum speed supported?