Employee Information with same date

Dear All,
Can any one tell me how to retrieve employees who hires on same date?
Thanks in advance.

/* Formatted on 7/30/2012 1:29:04 PM (QP5 v5.139.911.3011) */
WITH t
        AS (SELECT 'a' empl, TO_DATE ('31-12-2012', 'dd-mm-yyyy') hire
              FROM DUAL
            UNION ALL
            SELECT 'b' empl, TO_DATE ('31-12-2011', 'dd-mm-yyyy') hire
              FROM DUAL
            UNION ALL
            SELECT 'c' empl, TO_DATE ('31-12-2011', 'dd-mm-yyyy') hire
              FROM DUAL
            UNION ALL
            SELECT 'd' empl, TO_DATE ('5-12-2012', 'dd-mm-yyyy') hire
              FROM DUAL)
SELECT *
  FROM t t1, t t2
WHERE t1.hire = t2.hire AND t1.empl != t2.emplc     12/31/2011     b     12/31/2011
b     12/31/2011     c     12/31/2011

Similar Messages

  • Need to create a new row in table with same data as Primary key, but new PK

    Hello Gurus ,
    I have a table with one column as primary key, I need to create a new row in the table, but with same data as in one of the rows, but with different primary key, in short a duplicate row with diferent primary key ..
    Any ideas of how it can be done without much complication?
    Thanks in advance for your reply.
    Reards,
    Swapneel Kale

    user9970447 wrote:
    Hello Gurus ,
    I have a table with one column as primary key, I need to create a new row in the table, but with same data as in one of the rows, but with different primary key, in short a duplicate row with diferent primary key ..
    Any ideas of how it can be done without much complication?
    Thanks in advance for your reply.
    Reards,
    Swapneel Kalesomething like
    insert into mytable values ('literal for new pk',
                                           select non-pk-1,
                                                    non-pk-2,
                                                    non-pk-n
                                           from mytable
                                           where pk-col = 'literal for existing pk')

  • MRP split purchase requisition with same date

    Hi guru
    When I run MRP, if there are more requirements for the same material with same date, the system creates one purchase requisition grouping requirements.
    So, if I have two requirements of 3 and 2 pieces for material A, with date 18042015, the system creates one purchase requisition of 5 pieces
    I tried to use a BADI in order to split purchase requistion and have in this case a purchase requisition of 3 pieces and another one of 2 pieces but maybe I wrong something because MRP works wrong.
    Is there anyone that could give some tips about this request? Is there anyone that had same problem?
    Thanks
    Regards
    Raffaele

    Hi,
    Hope your BAdI is working now.
    MD51 is used for project. It creates replenishment orders against a WBS element. After this, you can run MD01 which will create replenishment order by material/plant level.
    If you have a question related to PS, maybe you can post your thread in this space:
    SAP Project Systems (SAP PS)
    Kind Regards,
    Mariano

  • Let all channels(with same data structure)run one program

    Hello,
    I want to let all channels with same data structure run one program,how can i program it?
    Thanks!

    Hi charleen,
    You're going to need to provide more details for us to help you.  In general "channels" do not "run" programs.  You can, however, run a program which loops over channels, checks their properties, and decides whether to include them in the overall analysis.  What do you mean by "data structure"?
    What do you want to actually happen in the "program"?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Help to fill BPS Cube with same data in a Cube with these conditions

    Hi,
    I need some help in implementing BPS in a small project. (Integrated Planning is not available).
    An existing cube, Cube1 has: Year/month, Year, char1, char2, keyfig1, keyfig2
    Keyfig1 is filled directly from R3 with actuals; keyfig2 (planned values) is  filled manually filled with a monthly flat file load.
    Now, there is a change in direction to fill keyfig2 through BPS features and bring in additional key figures all based on keyfig1.
    Cube2 has been created only for the purpose of this BPS project. Cube2 was a copy of Cube1(with no data). For Cube1, I have created a Planningarea1 and PlanningLevel1; and for Cube2, Planningarea2 and PlanningLevel2 in BPS0.
    How do I fill the BPS Cube2 with the same data as in BPS Cube1 with the following conditions:
    keyfig1 : same as source value from R3 (not modifiable)
    keyfig2 : modifiable by users only on the first and second of the month.
    keyfig3 : keyfig1 * 1.1
    keyfig4 : keyfig1 of previous Year/month 
    keyfig5 : same as source value from R3 (But modifiable)
    keyfig6 : same as keyfig5 as of last day of 20th of the current month (not modifiable)
    The goal is to create a multi planning area to join the two cubes. Hints all that will also be appreciated.
    Thanks

    Your thought of having a multi area is right.
    Create a multi area and being the basic areas to which you have assigned cube 1 and cube 2 underneath the multi area.
    UNder your planing package, create a function of type Formula and create a parameter set like this:
    = * 1.1.
    Just this one line will is enough.
    TO get keyfig 4 as previous month's key fig; you need another fox. To do this, you need to have a BPS variable to et previous month and use this variable in the parameter set.
    Your fox will be like this.
    DATA CURRMONTN TYPE 0CALMONTH.
    DATA PREMONTH TYPE 0CALMONTH.
    {KEYFIG4, CURRMONTH} = {KEYFIG1, PREMONTH}.
    To make users modify only on days 1 and 2, you need to define a dara slice.
    Ravi Thothadri

  • Problem with different resultset with same data and same query in Oracle 8.1.7 and 9i

    Hello,
    I have been using this query in oracle 8.1.7
    SELECT
    ID,
    AREA_NO
    FROM MANAGER_AREA MGR
    WHERE COMPANY_ID = :id AND
    (:value < (SELECT COUNT(ROWID)
    FROM MANAGER_WORK MW
    WHERE MW.AREA_ID = MGR.ID AND
    (MW.END_WORK IS NULL OR MW.END_WORK >= SYSDATE)))
    order by AREA_NO;
    In the above query I want to see rows from MANAGER_AREA table depending upon date criteria in the table MANAGER_WORK and also upon the parameter :value i.e if I pass a value as 0 I get to see records for which their is atleast 1 record in MANAGER_WORK with the date criteria and if I pass -1 then I get all the records because minimum value that count(*) would give is 0. The resultset was as expected in 8.1.7.
    A couple of days back I installed PERSONAL 9i to test for testing the basic functionality of our program with the same data. This query fails and irrespective whether I pass -1 or 0 it returns me same dataset which I would have got in case if I pass 0.
    I do not know whether this is a bug that has got introduced in 9i. Can anybody help me with this problem. It would be difficult for me to change the parameter send to this query as the Query is called from many different places.
    Thanks in advance
    Amol.

    I cannot use a Group by and a having statement over here. The problem with 'Group by' and 'having' clause is If I have to make a join between the two tables. When I use join then I get only rows that are linked to each other in the table.
    If I use outer join to solve that problem then I have to take in consideration the other date condition. My previous query use to virtually discard the corelated query result by using -1 as the value. This will not happen in the join query.
    Amol.

  • Employee Trasfers with same HR Positions

    HI...HR Experts
    We would like to build a system control in HR space that when ever there are INTERNAL Transfer happens , We want HR Admins should not be able to transfer the person with Same Position.
    May we request experts to throw some light on our requirement.
    Rgds
    PR

    Hi,
    Authorization can be given at the following fields only, we can not control the authorization at PLANS-Position level.
    Authorization Field        Long Text
    INFTY                             Infotype
    SUBTY                           Subtype
    AUTHC                           Authorization Level
    PERSA                           Personnel Area
    PERSG                           Employee Group
    PERSK                           Employee Subgroup
    VDSK 1                         Organizational Key
    PROFL                           Authorization Profile
    regards,
    mohammed

  • ArrayCollections with same data source

    Hi Everyone,
    Recently I got in a project which use Tree objects to visualize and manipulate objects. The data source of this object must to be the same but with different visualizations. In some views this tree will be filtered and in other places it won't. The data source must to be kept consistently, if an object is update in a tree, it should reflect the updates in the other Trees.
    My question is quite simple, does ArrayCollections are really expensive objects in terms of memory even using the same data source? Or does it have to do with the fact they are manipulating different datasources as well?
    Please share your experiences.
    Thanks

    Hi,
    ArrayCollection is a very useful construct.
    http://blog.flexdevelopers.com/2009/03/flex-basics-arraycollection.html
    Just make sure you clean the open nodes and it will perform fine.
    http://kb2.adobe.com/cps/897/cpsid_89785.html#products
    That is my two cents
    Best

  • Regarding multiple schedule lines in sales order with same date

    Hi All,
    we create the Orders from RFC and the orders are going to Multiple Schedule lines for the same date.
    period       delivery date          ordered quan       confirmed quantity
    D     10/11/2007                10                    0
    D     10/11/2007                 0                     10
    here for the same date in first line it is not confirming and in the second line it is confirming the quantity for the same date.
    On what conditions it is possible??????
    Any one have the solution for this Please send it to me [email protected]
    Regards,
    Prasad

    Just check the schedule line details i.e go to schedule line---shipping. You will find that although the del. date is same in both the case but the timings were different e.g material availability time etc will be different in both these lines. So though the dates may be same its time difference that's causing the second schedule line.
    Reward points if useful

  • Same field on Header and Item level with same data

    Hi Experts,
    I want enter value in WEB UI Header level Screen filed and the same value I have to see in same filed which has added to item level WEB UI Screen. Is Same field on Header and Item with data copying functionality supports by the CRM WEB UI?
    Thanks in Advance
    Edited by: sakthidharan acc on Jan 31, 2012 10:25 AM

    Hi Leon,
    can you please explain me how can i read the value of parent entity and make it appear at the item level?
    Please help me in this regard
    Its urgent.
    Iam the beginner , so that is the reason iam asking many questions , please help me
    Thanks and Regards,
    Sak

  • Combine docs with same data fields, one overrides the other

    Hi all,
    I'm hoping someone can help me. My company uses pdf forms where we have to combine multiple pdfs of different people filling in the same base form. When we try to combine them it comes up that one overrides the other fields with the same names. This takes all the information from one form and puts it in what is supposed to be a different form.
    The error box that comes up says we must use a PDF portfolio to do this without having the override but the portfolio doesn't work for what we need.
    Is there a way around this? We have to use the same form so of course there will be the same field names.
    Many thanks in advance.

    Set the font size to Auto.
    On Thu, Feb 12, 2015 at 6:57 PM, alisond65919575 <[email protected]>

  • 2 ipads with same data

    We have ipads for our board members and one board member had to use the superintendent's.  After the meeting, we thought they left it again.  Next meeting, they brought theirs and both ipads are the same.  Their personal stuff is on both ipads.  They said that they used icloud.  How do I get their stuff off of the superintendent's ipad?  If I delete their account on the superintendent's ipad will it delete it off the other??? 

    You would need to confirm with AT&T, but to the best of my knowledge a data plan cannot be shared; you'd need a plan for each iPad.
    Regards.

  • Two JTrees synchronizeds with same data but one filtering original data

    I'm doing a chat and the users are showed in a JTree in mainFrame, with doble clic on a node user is showed a sessionFrame that permit send text message and a button that offers the feature of add another user online, How i can use the original JTree in mainFrame to show the users online in another JTree, but filtering the users (nodes) offline, and thus any changes made in the first JTree come to the second JTree immediately,
    Thanks a lot for any suggestion.

    Hi Sanjeev,
    If Appset transport happend twice, all applications should have come in BW. But in this case only PROFIT AND LOSS has got 2 diff tech names.
    Hi Nilanjan.
    Yes, both the cubes in Infoarea ( QA system) and we have not faced earlier this problem either in any other environments ( DEV or PROD).
    Will DEV system appset transport will help to resolve this issue in QA since DEV & QA has same structure?
    Regards,
    Hari

  • Transferring Notes from iPod Touch to iCloud (with same dates)

         Hi everyone,
    Sorry about the long title, but this question I have is quite an uncommon question (in my opinion, at least). For the past couple years, I've been making periodic notes on my iPod Touch 2nd generation, using the app for a makeshift journal. I like how it shows the date of the entry, as well as how logn ago it was written. Now I've moved on to an iPod Touch 4th generation, with iOS 6 (which has iCloud, unlike 4.2.1). Using iCloud now to make my life more convenient, I want to move all these notes from my iPod touch and my Gmail account to the Cloud but still retain the original date it was created. This means I can't just copy and paste ~44 notes to the iCloud folder on my iPod.
         Does anyone know if this could be possible? I really want to keep the date it was recorded, and if I can't then I won't move them. Thanks!

    Why do I have to erase everything on my iPad to do this?
    You don't or you shouldn't, and everything isn't erased on your iPad in this situation, only iTunes content.
    Assuming all apps on your iPod Touch are in your iTunes library, have you had Sync Apps selected under the Apps tab for your iPad sync preferences with iTunes from the start - beginning with the first sync with iTunes for your iPad, or have you downloaded all apps on your iPad direct with your iPad and all apps on your iPad are not in your iTunes library?

  • Tree and Table UI element with same data source (context)

    Hello,
    I am trying to build an application which shows an tree and an table UI which shows additional information to the selected tree node. (like Windows Explorer)
    I am using an context like this:
    Class - - - - - - - - --  (Mapped  value Node)
    - SubClass - - - - -  (Recursion Node)
    - id - - - - - - - - -- - -(Value attribute)
    - name - - - - - - - - -(Value attribute)
    For the tree I am unsing this event handler  
         public void onActionClassNodeSelected(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, de.aequitas.sap.wd.java.easyclass.wdp.IPrivateEasyClassView.IClassElement element )
    wdModifyView contains this:
    public static void wdDoModifyView(IPrivateEasyClassView wdThis, IPrivateEasyClassView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
         IWDTable pictureTable = (IWDTable) view.getElement("PictureTable");
        if(firstTime)
             IWDTreeNodeType node = (IWDTreeNodeType) view.getElement("TreeNodeType");
             node.mappingOfOnLoadChildren().addSourceMapping("path", "element");
             node.mappingOfOnAction().addSourceMapping("path", "element");
    I think I could use now
    pictureTable.bindDataSource()
    , but do not know where to get the needed parameter.
    Thank You
    Bernd

    >
    Bernd Herbold wrote:
    > Hello,
    >
    > I am trying to build an application which shows an tree and an table UI which shows additional information to the selected tree node. (like Windows Explorer)
    >
    > I am using an context like this:
    > Class - - - - - - - - --  (Mapped  value Node)
    >  - SubClass - - - - -  (Recursion Node)
    >  - id - - - - - - - - -- - -(Value attribute)
    >  - name - - - - - - - - -(Value attribute)
    >  .
    >  .
    >  
    > For the tree I am unsing this event handler  
    >
         public void onActionClassNodeSelected(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, de.aequitas.sap.wd.java.easyclass.wdp.IPrivateEasyClassView.IClassElement element )
    >  
    > wdModifyView contains this:
    >
    >  
    public static void wdDoModifyView(IPrivateEasyClassView wdThis, IPrivateEasyClassView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
    >   {
    >     //@@begin wdDoModifyView
    >      IWDTable pictureTable = (IWDTable) view.getElement("PictureTable");
    >     if(firstTime)
    >     {
    >          IWDTreeNodeType node = (IWDTreeNodeType) view.getElement("TreeNodeType");
    >          node.mappingOfOnLoadChildren().addSourceMapping("path", "element");
    >          node.mappingOfOnAction().addSourceMapping("path", "element");
    >     }
    >
    > I think I could use now
    pictureTable.bindDataSource()
    , but do not know where to get the needed parameter.
    >
    > Thank You
    > Bernd
    Hi,
    Following is the code to do this
    //Your existing code
    IWDTable pictureTable = (IWDTable) view.getElement("PictureTable");
    //use the following code for binding
    IWDNodeInfo nodeInfo = wdContext.nodeClass().getNodeInfo();// Assuming class Node is bound to table.
    pictureTable.bindDataSource(nodeInfo);
    Regards
    Ayyapparaj

Maybe you are looking for

  • GetResponseCode() returns -1,what does it mean

    Hi , The HttpURLConnection class's getResponseCode() method returns -1. getResponseMessage() returns null.i m accessing my servlet through a proxy.i know only about 1xx to 5xx codes.i dont know what does it mean by -1.But at server side the request i

  • Serial Write - 8Mb file to write. Write command can only do 256 Bytes at a time. How to split up?

    First, thanks for this resource. I've used this forum quite a bit as a "lurker" and it's gotten me this far. Hoping to learn a bit, so I can contribute Anyway, my issue is this: I am ultimately trying to write an 8Mb binary file to an 8Mb Serial Flas

  • Not downloading TV series - telling me I'm using a different Apple ID but I'm not

    I downloaded two episodes of a TV show ("Touch") to my iPad and watched them. I then paid for the rest of the season of the TV show as one purchase (on the same iPad) to get the discounted price. I then downloaded the next episode of the TV show on t

  • Greyed out songs do not sync

    I have seen variations of this question elsewhere, but none quite on point. I have a number of albums in the iTunes library (Windows 8.1) in which a random number of tracks are greyed out. Some people have reported also seeing a dotted circle next to

  • Determining My screen size from preferences

    Hi I am trying to determine what kind of screen size I have on my macbook pro from within the "about this computer" option in preferences. I know it sounds dumb and could just measure with a ruler ( which I did ) but it came up as 14 inches and there