charges for all lines and lines without return locations

All,

I have a table EMPLOYEE (EMPNO, NAME, PLACE).

In this table of records do not have places of location/empty now I want to return all the number of lines and the number of lines where location is empty/null

As if there is total lines = 21 and 3 are the lines have empty places then results should be like

TOTCNT EMPT_LOC

========================

21                 3

What is the most effective approach?

Thank you.

Hello

Here's one way:

SELECT COUNT (*) AS total_count

, COUNTY (NVL2 (comm.

NULL

1

)

) AS null_comm_count

FROM scott.emp

;

but the following may be more effective:

SELECT COUNT (*) AS total_count

, ACCOUNT (*) - COUNT (comm) AS null_comm_count

FROM scott.emp

;

Tags: Database

Similar Questions

  • I'm unable to use my programs, I did purchase could use for a month, but it does not all Bill and any charges for this month and now appears as Plan of creative photography of cloud (annual) expired

    Hello how are you
    I'm unable to use my programs, I made the purchase could be used for a month, but it does not all Bill and any charges for this month and now appears as Plan of creative photography of cloud (annual) expired, when I walk in the plans and products. It is necessary to activate the urgent, but I just can't and would like to know by what means is the monthly bill.
    Urgent await return

    Thank you

    Your subscription to cloud shows correctly on your account page?

    If you have more than one email, you will be sure that you use the right Adobe ID?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    .

    If Yes

    Some general information for a subscription of cloud

    Cloud programs don't use serial... numbers you, connect you to your cloud account paying to download & install & activate... you may need to sign out of the cloud and restart your computer and log into the cloud for things to work

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • Option group a radio for all lines

    Hello developers,
    I then how questioning:
    On a presentation of tabular, to have a radio with a single option validation of Y for all lines.
    similar with option simple checkbox for all lines, but a single row it will be checked and others will be automatically disabled.
    If you know of similar examples, I'd appreciate if you let me know.
    Thank you.

    Hello

    Take a look on: Re: creating a Yes/No radiogroup... If selected then YES, another STEP in the table

    It's: http://apex.oracle.com/pls/apex/f?p=55041:18

    It is a normal report, but you may be able to adapt to it.

    Andy

  • Need to backup all programs and files without the System Image

    Hi all

    Recently, I myself in a dilemma. I installed 4 additional disks with the intention of creating a RAID volume supported by the BIOS. To do this, I need to change the BIOS setting of the controller which includes all the volumes, including my boot drive (that I don't intend to RAID). The problem I have is that when I pass the UEFI to RAID controller, Windows Recovery will not use the System Image I did. He said that the volume was created under a different arrangement (Bios vs. EFI).

    What are my options? Is there a different backup setting, which allows to keep all my installed software? I am not concerned with the data that I can copy it to an external volume, but it would take several days to get all of my software reinstalled. I would like to avoid this. I guess I'll have to reinstall Windows Pro 8.1 and then use a backup program to restore everything. If this is the case, then I need to know which backup program will work. If there is a better way, I would like to know. I see my options in the form, get another backup program, get a map of controller for the boot drive or the RAID volume or just reinstall.

    Thank you

    Hello

    Thank you very much for the detailed information.

    You can search the application using your favorite search engine, helping you to backup all programs and files without the System Image.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    For more information, you can ask your question on the TechNet forums

    http://social.technet.Microsoft.com/forums/en-us/home?category=w8itpro

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • I woke up this morning and my iPhone 6 does not light. I tried to reboot it by holding down the button market / stop and the button "home" but the apple logo never appeared and I had on the charger for a while and still nothing. Please leave suggestions!

    I woke up this morning and my iPhone 6 does not light. I tried to reboot it by holding down the button market / stop and the button "home" but the apple logo never appeared and I had on the charger for a while and still nothing. Please leave suggestions! Thank you

    You can make an appointment at the Apple Store - Genius Bar store and bring it into service. You can also search an Apple Store - find a store - Apple.

  • How to unlock DEP; Window grey DEP balls; Want To «Turn On DEP for all programs» and Services except those I select

    Under Start, computer, properties, advanced, Control Panel, performance, settings, Data Execution Prevention (DEP)...  The functions of ball in gray and it seems that DEP is locked.  Yet one can disable DEP using bcdedit.exe that MS wrote a short article on how to do it.  I would like to use this select method rather then disable DEP on the entire machine.

    Someone knows how to fix this 'feature '?  Thank you.

    Open in administrator cmd

    If the DEP is grayed out then try this: this RUN cmd

    Activation:

    bcdedit.exe/set {current} nx AlwaysOn
    bcdedit.exe/set {current} nx optin

    To turn off:

    bcdedit.exe/set {current} nx AlwaysOff

    To turn on DEP for all programs and services except those I select.

    Click Add to add the programs (32-bit) that you do not want to use the DEP feature. Navigate to the .exe file of the program you want to add to the DEP exclusion list and select it, and then click Open.Click OK to apply.

    10. restart the computer to apply the changes

  • BlackBerry Smartphones a charger for a storm and a Playbook.

    Only I want to carry one charger for both devices and start with my phone charger because I'm assuming that it could be the amp low appreciation charger if the Chargers are indeed different.  How can I know what are the requirements of load, a thunderstorm and the Playbook?

    You can check the compatibility list here:
    https://store.ShopBlackBerry.com/product/BlackBerryPremiumCharger/ACC-39343-301
    If the same charger is compatible for PlayBook as well as for the 4 types of storm devices.

  • HOW TO MAKE ICONS FOR ALL FILES AND FOLDERS IN LARGE WINDOW 7

    HOW TO MAKE ICONS FOR ALL FILES AND FOLDERS IN LARGE WINDOW 7

    You can try this: -.

    Start-> Control Panel-> display
    From there, you can select medium or large. This will be the size of everything on the screen.
  • How the AutoComplete feature of fork for all browsers and application

    Hello

    I want to feature Turn off AutoComplete on form fields. This should work for all browsers, and I would like to first of all that as a global property for the entire application.

    I've found autocomplete = "off" property for the input field. But:

    1.) it does not work for Mozilla
    2.) how I set this property for all the fields in my application in one step.

    Thank you

    Martin

    Hello

    1. well, it's a Microsoft extension (see: [http://msdn.microsoft.com/en-us/library/ms533486 (vs.85) .aspx])

    2. you can disable AutoComplete for a FORM tag (which, presumably, disables it for all elements in the form entry). Try adding the following immediately below #FORM_CLOSE # on your page template:

    <script type="text/javascript">
    document.forms[0].autocomplete="off";
    </script>
    

    Andy

  • Adjust the height of the line in an interactive report for all lines

    Hello
    I have an interactive report with lots of data in certain cells. The height of the heights of lines varies, so that all data is visible in the cells.
    I want to correct or to limit the row height to a specific value, so that all lines are displayed with the same height.
    Do anyone knows how to win this? Thanks in advance.

    Published by: kps204020 on 26.12.2012 20:27

    kps204020 wrote:
    Thanks a lot for your answer.
    I tried your proposal, but it has no effect. The cells in the report show all their content using as many lines as you need for this.

    This is the default behavior for the HTML table data (tables and cells grow to fit their content).

    So I have always with lots of lines, lines and lines with only a few mixed lines in my IR dependant on the contents of the cell. Because some lines almost filling the whole screen, it is difficult to get an overview with regard to adjacent lines.
    I use the Application Express 4.1.1.00.23. with the theme 21. Scarlet and Firefox 17.0.1.

    All users using Firefox?

    In fact, I'm working on my first APEX Solution for use in my business and demanding customers a solution for this topic. So I'm very keen to find a solution.
    I am very looking forward to your reply.

    I have been involved in similar questions in the past. My first reaction is simple: these data must be included in the report? The offending column can be removed from the primary report? They will always be visible in the display of the row and the detail view when it exists.

    The second option is to create a detailed view of the report with a structure that is better suited to the data concerned and make it the default view. (For an example, see the treatment of the PRODUCT_DESCRIPTION column in the detail view of the report in the sample database Application: click the show details on the product page.)

    The third possibility is some sort of customization of the presentation of the data. It will be using a combination of HTML/CSS/dynamic of the Actions/Plug-ins/JavaScript that you may not be familiar with: do you have any experience of these? To go this route, you must describe in detail how you want to present data, or what behavior is required when the data is too long and share a sample of the report on the apex.oracle.com we can work with.

  • How can I make sure that I am not charged for ALL the stuff of cloud?  And please explain to this OLD duffer... How to get the clouds out!

    How do I completely get out of theClouds AND make sure that I'm not going to be charged?

    Hello

    The Adobe Id on the forums has no assets CC membership/registration under him.

    You are not charged for any subscription of cloud under this Adobe ID

    Kind regards

    Sheena

  • Assignment of sequential numbers for all lines in a group of records

    The scenario is:
    This Recordset with group number, let's say 100 (group number) contains 7 rows/records. How to assign numbers (sequential) line for each line within these groups on the fly during the mapping process before inserting these lines set in the target. I know it's easy to achieve in a procedure, but do not know how to do the mapping.
    Please advice.

    Thank you
    Prabha

    In your aggregates of mapping use the function Rank as described above

    Hope it will work

  • Speakers stereo mod for ALL applications and sounds

    Sony Hi community,

    I want to ask you if there is a mod without root using the speakers of my Xperia Z2 on stereo for all applications, calls and sounds (System and not system).

    I found very bad that Sony didn't optimize Android 5 this feature because speakers of the Xperia Z2 are beautiful and functional, better than the Z3, but without stereo output are very limited and potential of this smartphone!

    The stereo speakers of Xperia are one of the design features LARGE and the BEST against all THE Samsung and Apple devices, so I don't understand why they use stereo Sony to give us a powerful and especially audio output COMPLETE

    I hope in a future implementation of this setting in the next firmware update, but now I haapy even if there is a mod sostitutive to force them to use stereo speakers for ALL o.

    All responses are welcome for me!

    See you soon

    Alessio_84

    The mod that I use currently uses two speakers for everything except the speaker, but that's because I use an older version (the mod has since been updated to include the speaker, but since I got back from vacation early this morning, I got a chance to further improve). I intend to give it a try later tonight.

    Unfortunately, it requires root. The good thing is that you do not need to unlock your bootloader to root the device, so don't lose your drm keys.

    Here is a link to the thread:
    http://Forum.xda-developers.com/showthread.php?p=60337177

  • Double charged for the service and support will not help!  Can you?

    Anyone know the secret to get a real person on the phone at Adobe?  These cat overseas representatives are not cut it!  I have a detailed transcript of a chat where the rep has no idea and can't even articulate their responses well enough to be called support. My problem is simple:

    Last month, Adobe somehow has not received my automatic membership via PayPal payment, even if the PayPal transaction has been completed, and the funds have been removed and delivered (I have documentation that Adobe don't want to watch).

    I used the support available to me - a poor attempt at a service of cat - nothing works.  The representative was informed of the situation and proceeded to charge me for the service once again, even though I told them I had already been charged, and it was a mistake on their part.  Now I have an another $49.99 charge on my account.  So that re - activate my subscription, it wasn't what I asked.  When I contacted PayPal about this, their response was to cancel my subscription, completely, but still no refund my second count (they also have a system of foreign aid, under normal)...  Now, I'm in the 'warning' of 30 days period before my service is completely turned off and not sure if I want to trust Adobe to my money, once again.  I contacted my bank - that should be a last resort, but I guess that is where I am, now.  They are willing to work with me, because I can pick up the phone and explain the situation to them.  Why I can't do this with Adobe?

    My last option is to take advantage of free legal assistance for my company and sue Adobe for $49.99, which seems silly, until you realize that it's free, and Disney has AMAZING lawyers at our disposal.  Is this really necessary?  Why am I put through so much aggravation due to the error of Adobe?  If I return, I would expect compensation for my trouble.  At least a few months of free service for the overload and my months of unrest.  Otherwise, affinity looking really tempting...

    Hello

    Please see Contact Support FAQ: impossible to reach support via the link "Contact us"

    Hope that helps!

    Kind regards

    Sheena

  • Iexplore.exe application 0x079B0068 error - I need to turn off DEP for certain programs and services, but I don't know which. I can't open some favorite sites. Micorsoft advice is not to turn off Dep for all programs and services.

    Iexplore.exe application error 0 x 0790068 - I am told that I have to turn off DEP for certain programs and services, which?  I am unable to open some favorite sites from one about Microsoft Update 1 month ago.
    Simplify the answer please, I'm so confused and frustrated and have spent hours to get to this point that I am destroyed so solve my problem!

    Hello

    Do run this as a top list of verification at the bottom.

    EricLaw IEInternals - a peek at Internet Explorer from inside. -Understanding DEP/NX
    http://blogs.msdn.com/ieinternals/archive/2009/10/10/understanding-data-execution-prevention-crashes-in-IE8.aspx

    The problem might actually be an add-on or another program to the origin of the problem and you should check that
    1st.

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER on it
    machines, including those that you have uninstalled (they leave leftovers behind which can cause strange problems).

    Start - all programs - Accessores - system tools - IE with no Addons - does this work better?

    IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK

    IE - Tools - Internet Options - Security - reset all Zones by default level - apply / OK

    not better?

    Close IE and try again IE or IE with no Addons

    IE - tools - manage Addons (for sure disable SSV2 if it is there, it is no longer necessary but Java always install
    "(and it causes problems - you never update Java to go back in and turn it off again)." Search for other possible problems.

    Windows Defender - tools - software explore - look for problems with programs that do not look right. Permit
    are usually OK and "unauthorized" are not always bad. If in doubt about a program to ask about it here.

    Could be that a BHO - BHOremover - free - standalone program, needs no installation, download and run - not all
    are bad, but some can cause your question. (Toolbars are BHO)
    http://securityxploded.com/bhoremover.php

    Startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Also get Malwarebytes - free - use as scanner only. If you ever suspect malware, and that would be unusual with
    Prevx running except a low occasional (not much), updated cookie, and then run it as a scanner.

    I would add prevx so.

    Prevx - Home - small, fast, exceptional CLOUD free protection, working with other security programs. It comes
    a scan only, VERY EFFICIENT, if it finds something to come back here or use Google to see how to remove.
    http://www.prevx.com/

    PCmag - Prevx - Editor's choice
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

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

    Do yourself a big favor and work through 1 above.

    How control DEP but I don't recommend turning it off and certainly not to let power off.

    How to enable DEP on or off for a program under Vista
    http://www.Vistax64.com/tutorials/65790-DEP-turn-off-programs.html

    How to enable or disable DEP in Vista
    http://www.Vistax64.com/tutorials/120778-DEP-enable-disable.html

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

Maybe you are looking for