How can I get these two results in two different columns?
SELECT COUNT(attr_id)
FROM pv_attribute
WHERE port_id = 322;
SELECT COUNT(attr_id)
FROM pv_attribute
WHERE port_id = 323;
How can I get these two results in two different columns?
Thanks
So Jens made a tiny mistake with the column name... shame you couldn't be bothered to research Pivoting so you could have corrected the mistake (possibly it was deliberate *{:-) ) and learnt something.
with pv_attribute as (select 16123 attr_id, 322 port_id from dual union all
select 16123 attr_id, 322 port_id from dual union all
select 19223 attr_id, 322 port_id from dual union all
select 11193 attr_id, 323 port_id from dual union all
select 13163 attr_id, 323 port_id from dual)
-- end of test data setup
select sum(decode(port_id, 322, 1, 0)) cnt_322,
sum(decode(port_id, 323, 1, 0)) cnt_323
from pv_attribute
where port_id in (322, 323)
Similar Messages
-
I have two excel files I cannot open or delete from my desktop. One is titled 6ACAD200 and the other file is titled 8D73A700. How can I get these off of my computer?
From the names I'd guess they are temporary files. If excel is running, quit and try again. If they still won't move or delete reboot. If they still won't move or delete...kill a chicken at midnight under an oak tree?
-
I am going through a divorce and she has the computer. I'm trying to tranfer my music to a new computer but for about 100 songs its asking for her authorization password that I dont have. How can I get these songs transfered or can I?
It sounds like two Apple accounts were used in the purchase of songs, yours and hers. Assuming she won't give you her password, you're kinda stuck. For $129 or so you can repurchase them all.
By the way, if she has the computer and it has your account info in it, you ought to change your password. -
I have installed Adobe Creative Cloud for teams CC Packages which says that Acrobat XI Pro is installed. Your support page says it does not install Acrobat and I have to look in the Extensions folder for an MSI file. I have run a number of searches and cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?
Also I now administer the teams and have accepted the invitation to I received to be a team member and download the apps. The admin page shows that I have been sent an invitation but does not show my account as "ACtive" unlike my other team members. I tried to use the link in the invite to accept it become active but the link displayed an error saying I had already accepted the invite... why is no account not active?
Finally what other product downloads in Creative Cloud do not actually download as part of the Creative cloud Packager for downloading the apps? e.g. acrobat and what else?My apologies Eadeszoo I believe our support agents are unavailable on January 1.
Are you able to copy the contents of the DVD to your computer? Are you receiving any particular error messages when you are trying to install? Finally which operating system are you using? -
When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position. How can I get these multiple e mails prioritized?
We are talking about the Mail app, right? In the Mail menubar, click on Window and then Previous Recipients:
That eliminates the previous recipients. If you are talking about the suggestions because there are 10 people with the name 'Steve' in your Contacts, then I do not know how to eliminate those unless you change the name slightly or wait until you type the last name or some other differentiator. -
I bought a few songs on itunes but the songs appear in grey letters and I cannot transfer them to my iphone. I've bought/rented TV shows/movies since so there isn't an issue with my account. How can I get these newly purchased songs onto my iphone?
You made a purchase and exhausted the credit on your card before it processed. All purchases are final. Contact iTunes Store support. You need to settle up before you can purchase or download anything else.
-
i put my new iPhone into iTunes for the first time, and chose to back it up to the iTunes i had on my iPod, but that made all my contacts on my sim card disappear, how can i get these contacts back?
Have a read here...
https://discussions.apple.com/message/18409815?ac_cid=ha
And See Here...
How to Use Multiple iDevices with One Computer -
I am adding new photos to my PC windows 7 desktop but they are not syncing to my ipad when I sync the Ipad. How can I get these photos into my Ipad?
Skydiver.
you and I know that your answer works because that is how I sync my ipad. I don't have a mac, just a PC with itunes. Now this guy might not even have itunes and is using Windows Media Player or something like that.
Or maybe he just do not want his problem fixed. I read these forums and too many of the questions are just way beyond basic computer knowledge, but it seems to happen that they can never resolve a very simple problem. It makes me wonder if people just post bogus stuff.
I would like to see registration to the forums attached to the product serial number of the forum you are posting to. I bet you that the posts would drop dramatically. -
I purchased a macbook pro online this fall and had iWork and iLife apps pre-installed when I purchased it. How can I get these Apps onto my iPhone 4s without paying for it again?
On my iphone those apps still require me to purchase them.The MacBook versions run on a Different Operating System...
You will need to Purchase the iOS iPhone versions -
I connected my ipad to my computer to sync my photos and it deleted all my apps, they synced back on to my ipad but all my Noteshelf apps items were deleted, how can I get these back?
What do you mean " back up my photos or Apps"?
The photo sync is one way - computer to ipad.
You can transfer itunes purchases. Without syncing: File>Transfer Purchases
Copy everything from your backup copy of your old computer to your new one. -
Upgraded to 10.6.1.7 as prompted and now cannot see any music purchased since March 23, 2012. How can I get these back?
The error message says it cannot find the file but it exists as it was transferred to my ipod.
Thanks.Ack! We don't need that much.
What you posted looks like the iTunes Library.xml file I will let you read about how iTunes works but not only is the .xml not your main library it is just the listing of tracks in your library and where the music files should be located. Your music is actually in media files (by the way, it is pointless to zip those as they are already compressed). Anyway, read these and you will see that your true library file (iTunes Library.itl) is only a small, but still important, part of a complete library.
What are the iTunes library files? - http://support.apple.com/kb/HT1660
More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
Where are my iTunes files located? - http://support.apple.com/kb/ht1391
As you can see, a library has several components, so "getting it back" depends upon what is missing, what it was you actually backed up in the end, if any of this music was purchased from the iTunes Store, etc. -
Computer Crashed with CS4 - How can I get these programs to my new computer?
Computer Crashed with CS4 - How can I get these programs to my new computer?
You will want to install them from the installation media.
-
I copied a form in Formscentral, now all references to the used logic have disappeared. How can i get these back? I am using a subscription based version.
Hi;
You want to "Duplicate" the form in order to retain all of the Show/Hide logic. If you "copy" the form by copying and pasting all of the fields from within a form that does not retain the Show/Hide logic.
To Duplicate a form close the form and select it in the "My Forms" tab, you can either choose "Duplicate" from the context menu or click the button on the toolbar along the top:
Thanks,
Josh -
How can I get extract the data between two cursors on an XY graph
How can I get extract the data between two cursors on an XY graph
Well, you say xy graph, so this might be a more complicated problem.
For a waveform graph it's trivial. Simply get the two cursor indices (property: cursor index) and apply them to array subset of the data. Is that all you need?
Here's how the above code would look like. using cursor.index instead of cursor.x elimnates the need to include scaling information.
For an xy graph, there could be multiple segments (e.g. imagine a spiral that passes the desired x range multiple times from both sides). This would neeed significantly more code for a general solution.
Message Edited by altenbach on 11-24-2009 07:53 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
cursorsubset.png 17 KB -
'''I updated to 7.0.1 however facebook was not showing pictures etc. Not being the best computer geek I have made things worse going to firefoxs troublshooting to resetting localstore.rdf? I've lost alll my bookmarks..how do I get these back? Theres two problems now.. facebook crashes & I have lost my bookmarks?Please help!'''
A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
*https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file
Maybe you are looking for
-
HI, I have an scenario and pls advice Material Stock =10 STandar Price: =10 Rupees Stock value =10*10=100 If receive the 10 nos of material as free of goods.so now the value Material Stock =20 STandar Price: =10 Rupees Stock value =10*10=100 Now if i
-
Error code 1079 on windows 8.1
I have just upgraded to windows 8.1 on my Lenovo ideapad yoga 13 and my audio has stopped working. All the fixes available discuss the older versions and none are able to support 8.1. Having researched this for the last 24 hours I have done most thin
-
Seeburger Message Catalogue - Need more messages
Hi experts, very quick and simple question. The standard catalogue given with Seeburger MD/BIC doesn't have some of the messages I need e.g. INVOIC (D01B) and a few others. What is the best and quickest way to achieve this? I doubt if there are any f
-
Set default gateway on headless server (via ssh)
I'm trying to configure one of the two ethernet interfaces on a headless Xserve. I managed to give it an address and subnet mask with ifconfig, but I can't figure out how to give it a default gateway or dns server. I tried using this: sudo route add
-
Export PDF, JPG or PNG images from the mapviewer
hi, I need to export PDF, JPG or PNG images from the mapviewer (Oracle Map client). How Can I do it? Any Ideas? Thanks.