Query to retrieve the records which have more than one assignment_id
Hello,
I am trying to write a query to retrieve all the records from the table per_all_assignments_f which has more than one different assignment_id for each person_id. Below is the query i have written but this retrieves the records even if a person_id has duplicate assignment_id's but i need records which have more than one assignement_id with no duplicates for each person_id
select assignment_id ,person_id, assignment_id
From per_all_assignments_f
having count(assignment_id) >1
group by person_id, assignment_id
Thank You.
PK
Maybe something like this?
select *
From per_all_assignments_f f1
where exists (select 1
from per_all_assignments_f f2
where f2.person_id = f1.person_id
and f2.assignment_id != f1.assignment_id
);Edited by: SomeoneElse on May 7, 2010 2:23 PM
(you can add a DISTINCT to the outer query if you need to)
Similar Messages
-
Also Mountain Lion doesn't have the timer for the the Battery life, only percentage. How can amount of battery time be shown permently?
The removable battery problem is called progress or more accuratety alleged progress. It is cheaper to install a bare battery pack than to provide space for the cased removable variety. More compact and flatter laptop cases need the extra room that a removable battery occupied. It also weighs less with no case. Cooling can be a problem with higher performance options in these crowded environments.
To me the ultra lightness and compactness of the new laptops is of secondary importance compared to performance and reliability. -
Is there a way to have more than one Query view in the same workbook?
Is there a way to have more than one Query view in the same workbook?
BEx allows us to insert Queries into workbooks, but not saved views.
I can open a view in excel & then save it as a workbook....but after that there is no way to add another view to the same excel. If I open a new view, it opens in a new Excel.Hi
when u open some query in BEx analyser,u can save it as a query view as well as workbook.The difference is, workbook is if u work with the design mode which will be in the left side of ur screen and query view is wen u save after drill downing some char or key figures from a intial screen wen u execute query in BEx analyser -
Issue in FF v 3.6.10: I have a web page which have more than 20 link, clicking on each of these link opens up a pop-up using window.showModalDialog, for the first consecutive 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open. This is m problem, the real user on the web page can click on more than 20 link in such a scenario it may create problem, please help
Your above posted system details show outdated plugin(s) with known security and stability risks.
*Shockwave Flash 9.0 r999
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
http://java.com/en/download/faq/firefox_newplugin.xml
See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html -
i use Exchange to sync my iphone4S with Outlook. On my iphone, my contacts are split into multiple records if they have more than one email address - how can I consolidate them on the iphone
I have loaded my Firefox bookmarks into Internet Explorer Favorited. I also uninstalled Safari.
I go to iTunes on my phone and see no wat to connect my iPhone to my laptop. I see Music, Shows, etc., the kind of stuff I would expect, but no clue as to how to proceed.
Would you please be so kind to fill me in on how to "That syncing is done via iTunes. Connect the device to iTunes, select it, then go to the Summary page and select to sync bookmarks."?
I am not sure what you mean by "Summary Page"
Thank you -
Query to ignore the records which are 6 months older
I need a query to ignore the records which are 6 months older . my table is having a column named quote_date . I need to ignore the records whose quote date is 6 months older . Can any one help me in this regard.
thanks in advance
rakeshHi:
SELECT *
FROM table_name
WHERE MONTHS_BETWEEN (SYSDATE, quote_date) > 6HTH
Saad, -
Delete the records which have the Data values are NULL before load data to BPC model
Hi Everyone,
I am loading the data from flat file to BPC Model (10.0 Version).
Source data (Flat file) looks like below:
RP_Employee RPT_Currency Data
Test USD 8
Test1 USD
Test2 USD 6
My user requirement is that to delete the records which have the Data values are NULL before load data to BPC model.
So,Please let me know how can i meet to this requirement.
I am thinking that,it is possible by using start routine BADi. If i am correct please let me know process like creation of class and BADi implementation.
Thanks in advance!!Hi Nilanjan,
Please see my source data below:
Account Client Employee Time Data
123 XYZ Vishu 2014.01 300
456 2014.01
789 ABC Alexander 2014.02 200
If you see the second record,
If data value is ZULL, then the Employee or another dimension is also NULL.
So I want to delete second records.
If it is Start routine please share the code and steps to do.
Thanks in advance!!
Regards,
Viswanath -
Hi
Question:
In a hierarchical query, is it possible for a row to have more than one immediate ancestor?
Answer:
No
No? Surely, it's yes?
Thanks,
JasonAs Frank pointed out already hierarhical most often means a tree (data structure) to deal with.
There must usually be just one boss (the root) in which case the answer is no.
Something to read: http://en.wikipedia.org/wiki/Tree_(data_structure)
You can find out Solomon spoke about a generalization therein.
Related to forum troubles:
If I login first thing after reaching forum, the behaviour is rather consistent - I'm allowed to post answers, otherwise ...
Regards
Etbin -
Can you have more than one apple id on a computer. We are going away and want to facetime from our macpro to the mac computer at home but both are registered under the same apple ID. What should we do ?
I will share with you what I have done to manage this with my family. While the solution isn't without flawes, it seems to do the trick. First, you need to have one person who is managing the synching of everyone's devices. In my family, I have three iphones, about to be four, and five ipads. We all synch to the same apple ID to allow one another to take seemless advantage of our Itunes, which is on our Imac. To synch individual music or video interests, we simply select which playlists we want and manually synch that way. A couple of us use imatch and the cloud to make the entire library accessable as well. With respect to the imessage, mail, contacts, etc. we each have a gmail account for our individual emails, contacts etc. So for instance, my forth grade daughter has a gmail account that we choose to synch her contacts, calendar, etc to and then that is also the account where she receives her imessages from on her ipad and itouch. My son, who has an iphone and ipad, does the same thing, but under settings, he goes to imessage and checks his phone number and his email as his preferred way to receive imessages and texts. My wife and I do the same thing. To avoid having everyone see one anothers contracts etc, we only synch contacts from our individual email accounts. Here is the downfall to this: When you update your phone or add a new device, apple always wants to reset everyone's facetime and imessage settings and then low and behold we are all receiving imessages from one another's friends etc. To work around this, I simply take each of their devices and go to their imessage settings and only check the email and phone numbers relative to their devices. I dont' know is this is the best solution, but it seems to work for us.
-
Can I have more than one version of adobe reader at the same time?
can I have more than one version of adobe reader at the same time?
If I may add a qualification: on a device running full Windows 8, you may have both Adobe Reader Touch and Adobe Reader (normal desktop edition). This does not apply to the primitive devices which cannot run desktop apps (running "Windows RT"), and while I may be wrong, I believe that the Surface 2 is such a device.
-
I want to set up a shared iCloud account for multiple users in a (very) small office environment, where several new iOS devices and, for the moment, two Macs (2012 13" MacBook Pro and 2013 Mac Mini) will be able to read/write to a shared Contacts account – and at the same time maintain a second, personal iCloud account linked to the same Contacts app on one machine, which account's contacts data will remain private and inaccessible to the other Macs/devices which are likewise using the shared account.
Can this be done? (I.e., can Contacts app on a Mac include separate iCloud accounts?)
If so, how to set it up?
ThanksThanks for your answer. There's no problem with others accessing that Mac – it's used by one person only – my question is can you add a second iCloud account to Contacts. Over the past two days I had tried to add the shared iCloud account to Contacts and kept getting failures. But maybe the server was down or the ISP was weird: your response assumes it can be done and so, to my embarrassment, I tried again just now and violá, it's done. Thanks again.
P.S. Finding a simple presentation that makes clear you can have more than one iCloud accounts syncing to Contacts at the same time was very hard to find, either from Apple or others on the web. Maybe I don't know how to search, but they could do with a clear explanation of this for the uninitiated. -
I have a PC with Windows 7 x64. I have Elements 13. I installed a plug-in (Topaz) which appeared under the Filter Menu.
Then I tried to install my new Canon Printer software plug-in which put it under FILE > AUTOMATION TOOLS. However, when I tried to use TOPAZ under the FILTER MENU it was gone. In other words, the Canon printer plug-in replaced my Topaz plug-in. When I reinstalled the Topaz plug-in, it replaced the Canon Printer Plug-in.
QUESTION: Can't I have more than one plug-in installed in Photoshop Elements 13 at a time? So that the Canon printer plug-in is in AUTOMATION TOOLS, and the Topaz plug-in is under the FILTER menu?Have a look at this thread.
http://discussions.apple.com/message.jspa?messageID=2369954#2369954
Before you try some of the suggestions bear in mind that your iPod is still under warranty. -
Can we have more than One DC for the sales organization and Plant combo?
Can we have more than One DC for the sales organization and Plant combination?
If yes can you please site a practical example to clear the pictureHi
First of all in SAP sales orgs are assigned to distribution channels and the combination of sales org and distribution channel which is called distribution chain is assigned to plant
There is no direct link between sales org and plant or distribution channel and plant
So sales org and plant combination doesnot exists and
it is only sales org and dist channel combination which is called as distribution chain only exists
Nowhere in SAP we are assigning sales org to plant
It is because sales org alone doesnot make sense and its combination with dist channel only makes sense
because sales org is a selling org and the distribution channel is the route to sell and this combination has only to pick the material from plant to process sales to customers
The relation between sales org and distribution channels is many to many and also vice versa
Multiple sales orgs can be assigned to one distribution channel and
Multiple distribution channels can be assigned to one sales org
Similarly the relation ship between Distribution chain (sales org+dist channel) to plant is also many to many and vice versa
Similarly plants from other company codes can also be assigned to Distribution chain to facilitate intercompany processes
In whatever way look at it the multiple distribution channels can be fit anywhere
Regards
Raja -
I need to connect my iPad to a projector and have USB ports. What do I need to do this and where can I get the suitable fittings? I really need to have more than one USB connection port. Help
You can connect via a cable or wireless using an Apple TV.
http://ipad.about.com/od/iPad_Guide/a/How-To-Connect-Your-Ipad-To-Your-Tv.htm
Connect an iPad to a Television or Projector
http://www.everymac.com/systems/apple/ipad/ipad-faq/how-to-connect-ipad-to-tv-te levision-projector.html
Connecting iPad iPhone or iPod to TV or Projector
http://www.disabled-world.com/assistivedevices/computer/ipad-tv.php
iPad Accessories: Connections for a TV or Projector
http://www.dummies.com/how-to/content/ipad-accessories-connections-for-a-tv-or-p rojector.html
You may be interested in AirPlay on the Apple TV:
http://www.apple.com/airplay/
Alternately, there are Apple Digital AV Adapters for hardwired connections:
http://support.apple.com/kb/ht4108
If your location does’t have wifi to use with the Apple TV, use a portable router.
Portable routers http://compnetworking.about.com/od/routers/tp/travel_routers.htm
Cheers, Tom -
Can you have more than one alert at a time show up on the lock screen?
When i recieve a new message, this shows up as an alert on the lock screen when my phone is locked, as its supposed to. However, if a new alert comes through before i open the previous one, only the most recent one will appear on the lock screen. Is there anyway to set it so multiple messages can be displayed on the lock screen at once?
Yes, you may have more than one "single" subscription, with the photography special counting as a single
Cloud Plans https://creative.adobe.com/plans
-and subscription terms http://www.adobe.com/misc/subscription_terms.html
Maybe you are looking for
-
Dear Experts Still No one help me, My problem is , automatic posting is not working, that is even no one G/L isl assigned during po creation and goods movement. we cann't find what is the problem,definitly we can say it is from SD and FI side, Pls he
-
Missing Authorizations Scenario (SU53) in GRC AC 10
Hello Gurus, Good evening !! I was wondering how can GRC AC 10 system help when an end user has missing authorizations ?? General scenario is if an end user hits a transaction and gets "Not Authorized" , he will send a SU53 screenshot and depending o
-
OEL 6.3 - mount.nfs: access denied by server
Hi, I am trying to mount an NFS directory on a server running OEL 6.3, pointing to another OEL 6.3 server. I get the following error: [oracle@csdowmsdb503 etc]$ mount 192.x.x.x:/home/oracle/m501/m501_f /home/oracle/m501_f/ mount.nfs: access denied by
-
Finding Orphaned User Device Profiles for EM
HI Everyone I want to clean up CUCM and get rid of orphaned device profiles and I wanted to know is there a function in CUCM that will allow me to do this or some sort of CLI command that I can use to get the excess profiles out of the system. Thanks
-
JTabbedPane - BOLD selected tab title text.
I want to BOLD the selected tab's title text while keeping the unselected tabs' title text in normal font. Anyone know how to achieve this effect?