Ask the redesign please
It is always 0, because at most only disp1 or disp2 returns all the lines and is probably not the most effective solution anyway. How it should be redesigned?
Select nvl (count (distinct disp1.sak_acct_rec), 0),
NVL (Sum (decode(DISP1.ind_debit,'D',DISP1.) AMT *-1,' IT, DISP1. AMT, DISP1. (AMT)), 0),
NVL (count (distinct disp2.sak_acct_rec), 0),
NVL (Sum (decode(DISP2.ind_debit,'D',DISP2.) AMT *-1,' IT, DISP2. DISP2 AMT. (AMT)), 0)
from (select distinct disp.sak_acct_rec, disp.amt, xref.sak_claim, disp.ind_debit
of cz05g0.t_tpl_ar_disps disp,
cz05g0.t_tpl_ar_clm_xref xref,
-aim01.t_clm_pgm_xref pgm,
cz05g0.t_clm_pgm_xref pgm,
cz05g0.t_hist_directory hist,
help cz05g0.t_cde_aid,
code cz05g0.t_tpl0101m_tmp
where disp.amt > 0
- and disp.dte_added between: begin_date and: end_date
and disp.sak_acct_rec = xref.sak_acct_rec
and pgm.sak_claim = xref.sak_claim
and xref.sak_claim = hist.sak_claim
and to_char (substr (hist.num_icn_fl, 1, 1))! = "7"
and pgm.sak_cde_aid = aid.sak_cde_aid
and aid.cde_aid_category between code.cdefrom and code.cdeto
) disp1,.
(select distinct nvl (disp.sak_acct_rec, 0) as sak_acct_rec, nvl (disp.amt, 0) as amt,)
NVL (xref.sak_claim, 0), like sak_claim, nvl (disp.ind_debit, 0) as ind_debit
-Select distinct nvl (disp.sak_acct_rec, 0), nvl (disp.amt, 0), nvl (xref.sak_claim, 0), nvl (disp.ind_debit, 0)
of cz05g0.t_tpl_ar_disps disp,
cz05g0.t_tpl_ar_clm_xref xref,
-aim01.t_clm_pgm_xref pgm,
cz05g0.t_clm_pgm_xref pgm,
cz05g0.t_hist_directory hist,
help cz05g0.t_cde_aid,
code cz05g0.t_tpl0101m_tmp
where disp.amt > 0
- and disp.dte_added between: begin_date and: end_date
and disp.sak_acct_rec = xref.sak_acct_rec
and pgm.sak_claim = xref.sak_claim
and xref.sak_claim = hist.sak_claim
and to_char (substr (hist.num_icn_fl, 1, 1)) = "7"
and pgm.sak_cde_aid = aid.sak_cde_aid
and aid.cde_aid_category between code.cdefrom and code.cdeto
) disp2;
Remove the filter condition '7' and include it in the select clause with an aggregate function, like this:
Select nvl (count (distinct (case when to_char (substr (hist.num_icn_fl, 1, 1))! = '7' disp1.sak_acct_rec then end), 0),)
....
NVL (count (distinct (case when to_char (substr (hist.num_icn_fl, 1, 1)) is '7' disp2.sak_acct_rec then end), 0),)
....
of cz05g0.t_tpl_ar_disps disp,
cz05g0.t_tpl_ar_clm_xref xref,
-aim01.t_clm_pgm_xref pgm,
cz05g0.t_clm_pgm_xref pgm,
cz05g0.t_hist_directory hist,
help cz05g0.t_cde_aid,
code cz05g0.t_tpl0101m_tmp
where disp.amt > 0
- and disp.dte_added between: begin_date and: end_date
and disp.sak_acct_rec = xref.sak_acct_rec
and pgm.sak_claim = xref.sak_claim
and xref.sak_claim = hist.sak_claim
and pgm.sak_cde_aid = aid.sak_cde_aid
and aid.cde_aid_category between code.cdefrom and code.cdeto
Tags: Database
Similar Questions
-
I would just ask the best way to integrate or to add the feature of "belonging".
on the Adobe Muse site I built for a client? The client wants for their customers
to be able to have a newspaper in option to access exclusive offers. Help, please. Thank you.
Accommodation with Business Catalyst and feature Secure area are probably the easiest. But easier I don't mean easy. There will be a steep learning curve to learn how Business Catalyst works first.
Unfortunately at this time Muse isn't really the tool to do what you need.
-
Please I want to return my creative cloud, addressing students, which included Photoshop, Illustrator, In design, I thing is in aid of Design Software.please, I get paid and I don.t use for 2 months because I asked the communities
and they do not at all help
There could be a barrier of the language that makes your unclear situation and responses difficult to give.
You want to reinstall your applications?
Go to: http://www.adobe.com/
Sign in with your Adobe ID
Click on the desk top left
Click the icon to the applications to be installed.
Alternatively, go to: http://www.adobe.com/downloads.html
Connect with your AdobeID.
Click creative cloud.
Click on the apps you want to install.
-
Reader Adobe XI updates last week. Reinstalled this morning. All previous saved pdf files are now forms of words asking the conversion? Creates problems for my business. Help, please?
See http://windows.microsoft.com/en-us/windows/change-file-open-program#1TC=windows-7
Another method: http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7
-
My imei = * I wear my apple ID when I rest MY VOICELESS please my voiceless was locked help me if are unlocked
Model n ° = A1429
It's a very bad idea to post your IMEI number - there is a security risk - and I asked the host to remove it.
You do not give a lot of information. Have you bought this used phone (used)? Your screen looks like this (with the ID being shown not yours)? -
If an opportunity iOS device has been "Locked Activation" then only the former owner can unlock, either by providing you with the account ID and password, either by removing it from its list of devices (as it should have before selling) s ' please see http://support.apple.com/kb/ts4515
If you are unable to contact to do this, then I'm afraid you will not be able to use the device - there is no other way to release all. Apple cannot open it for you.
If possible, you should return whenever you bought it and ask a refund as this event that the unit is completely useless.
If this isn't the case, then you need to describe in detail what the problem is, citing error messages.
-
MY Sony VAIO VPCEB13FX recovery mode does not start and ask the way to recover mode
Please help what is the path for VPCEB13FX for the recovery mode.
Hi rchoksi6,
The recovery partition cannot be open/covered and is visible in disk management. By default, the recovery media should not ask the way since its preset. It is possible that the recovery partition can be damaged or is (missing a file (s).
-
When installing Microsoft Security Essentials windows install ask the CD rom to install
Original title: __windows installation problem
When you attempt to install essentials Microsoft windows install ask the cd rom for installation, where is the problem?
Hi Annimel,
1. What is the exact error message you are getting?
2. do you have a third-party security software installed?
You can check the following link and try the steps by Stephen boots MVP, Moderator Wednesday, March 24, 2010 13:25 and check if it helps.
Also check out the link:
Hope this information is useful.
Jeremy K
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think.If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Hello
I have a problem with Live meeting 2007. I'm organizing a live meeting with people from different countries. Some of them cannot hear anything and can not use the microphone. They get this kind of error:
"This meeting uses computer audio (VoIP), computer audio is not available with this console, which is based on the Web." To get the audio from the computer, please install the Microsoft Office Live Meeting client. »
I tried to look for a solution, but I did not understand what Live Meeting I need to download.
Can you help me?
Thank you.
Original title: Live Meeting 2007
Hi Alex,
Thanks for posting your query in Microsoft Community.
I understand your concern. In this case, I suggest you refer to the Microsoft TechNet article following which sets out the series of frequently asked questions related to Live Meeting 2007 and check if the solutions are useful.
FAQ: Live Meeting related topics media
Hope this information is useful. Let us know if you need more help, we will be happy to help you.
-
Whenever trying to install a new windows program gives me a prompt asking the administrator username and password, I don't know how to install a program when I don't have the admin username and password. I tried, tried to run the program as administrator, tried playing with the command prompt. Even to manage user accounts that I am invited with the same, if I am not even given these fundamental rights so what's the use of this product. Please help me in this regard.
Hello Dominic,.
Thank you for reaching out to us on Microsoft Community.
The prompt that you receive requesting the administrator username and password during the installation of any program is due to the User Account Control (UAC). UAC can help prevent your computer from unauthorized changes. UAC notifies you when changes will be made to your computer that require administrator-level permissions. These types of changes can affect the security of your computer or can affect settings for other people who use the computer. We recommend that you leave UAC to help your computer course.
However, if you still want to delete the computer from Windows 8 user account control settings, you can view the suggestions about Disabling UAC in Windows 8.
Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: How do I back up and restore the registry in Windows
Come back and let us know the State of the question, we will be happy to help you. We, at tender Microsoft to excellence.
-
I have XI Acrobat pro. When I try to enter my serial number it asks the DC acrobat serial number?
Hi antonio % 20avanic,.
Please do not forget that we have download a good configuration, you can re - download Acrobat XI pro from here: Download Adobe Acrobat products. Standard, Pro | DC, XI, X
See also the workflow of How to download, install and activate Adobe applications
Let us know if that helps.
Kind regards
Sandrine Bani
-
Hello! I am a fashion design student and my school offer us a wide range of Adobe programs. I asked the Redemption Code and I, but when I try to enter on behalf of the school know that this code has already been used however the Photoshop and Illustrator that I already have on my Mac do not work. Before you begin the school pack, I used a free version and so now I see that my free version is over but I can't use the pack of the school that gave me. How can I start using it?
Hello
Please see redemption code help
You will need to contact support by calling/chat for this request.
* Be sure to stay connected with your Adobe ID before accessing the link above *.
Kind regards
Sheena
-
BUONASERA. HO ASKED THE PER FOTOGRAFIA PHOTOSHOP LIGHTROOM CON ABBONAMENTO E AL PREZZO DI €. GIA 12,90' ADDEBITATE PER DUE MESI SULLA MIA CARTA DI CREDITO. AD OGGI NON RIESCO AD OPEN ED UTILIZZARE I PROGRAMS. GRAZIE PER AIUTO. E-MAIL: [email protected] - Tel.: 3338338481. SAVE HO 68 anni e NON oltre vado!
Hi sergioBFI,
Could if it you please let me know if you get an error when opening or other applications?
Kind regards
Tanuj
-
Idont know why I paid for a service and a product that I did not ask or authorized¡¡¡Oct 27 ADOBE * ExportPDF SUB CA $400,86 800-833-6687. the worst is not also cancel... I have a PC I'll ask the Bank its cancellation. Icant to cancell and Idon't know are product wish?
There is no purchase or payment in January 2015. The payment portal, purchase details all confirm.
Can you please confirm under what ID Email has it been charged as there is no benefits received under this Adobe ID
Feel free to send a private message.
Concerning
Stéphane
-
I ask the cancellation of my annual subscription to the creative cloud for Adobe Acrobat Pro DC, emergency, because I have no more interest. MasterCard to end 5345.
Hello
Please contact support:
Hope this helps!
-
I am downloading Acrobat Pro XI and asking the English. I tried 3 times, but it installs Dutch? Why it does this? No idea how I can set it to English
Hi Jacob,
Please refer to solution mentioned 2 in suite KB Doc: https://helpx.adobe.com/x-productkb/global/acrobat-launch-language-mismatch.html
Kind regards
Rahul
Maybe you are looking for
-
How can I recover the address book from a previous installation?
I had to reinstall Thunderbird on my PC. When I did, all my previous entries to address book are missing. Is it possible to recover?
-
Hotmail untrusted connection, why?
All this while I've been using Hotmail and that's fine. Until recently, after that I connect to Hotmail, it will tell "We can't connect to Outlook.com right now. Please try again later." Then, when I update he says "This connection is Untrusted". You
-
iTunes does not find devices in Windows 10
I installed the latest version of iTunes on my new laptop running Windows 10. When I connect devices, nothing shows up on itunes. No devices and 'peripheral' is not in the drop-down list. I uninstalled and reinstalled without success. When I con
-
Alternate click right key missing keyboard
Hello I am currently using HP N012 TX. The keyboard for this laptop does not have a right click menu button! Na purchasig not see it, big mistake. I'm addicted to the use of this key. Y at - he replaced anyway I can get any other button or any other
-
I'm used to using microsoft works calendar XP. When I put a windows live event calendar it has an icon for reminder on top, but it is dimmed, and I can't figure out how to set a reminder. I want more that just a moment email reminder a reminder pop