This program does PL/SQL has a meaning?

Hello

In the book of Ivan Bayross, page no. 331 of the following program is given.

If no transaction on the last 365 days, mark INACTIVE account status


Le mANS is defined as varchar
mACCT_NO comes from the user
ACCNT_NO is a column of Table TRANS_MASTER


CHOOSE 'YES' IN the mANS

OF TRANS_MASTER

WHERE

ACCNT_NO = mACCT_NO

GROUP BY

ACCNT_NO

HAVING

MAX (SYSDATE - DT ) > 365;




IF mANS = "YES" THEN
GOTO mark_status;
ON THE OTHER
dbms_output.put_line (' number of ACCT | mACCT_NO |) (' is Active');


The program continues...




But,

DT IS DEFINED NOWHERE / / this IS the ERROR?

Is there a sense program? I mean, check out the select query above. Why is the need for Group by and having clause?  Cant we use where simple clause there?

DT should be the field in the TRANS_MASTER table.

You cannot use a simple where clause until ACCOUNT_NO is unique. As the name tells you it is an operating table that I hope the transaction for an account on different dates.

So if I need to find if and the account is INACTIVE I need to get the date of the last transaction and verify how old it from today (SYSDATE).

To do this I need a function GROUP BY and MAX.

Tags: Database

Similar Questions

  • SL500 "this program does not support this system.

    I have an SL500 with 64-bit windows system 7. He has a new system installed. I have correctly installed all necessary drivers. Now, I'm not able to install elements of followind with the system update utility:

    ThinkPad ultranav driver for windows 7

    ThinkPad hotkey features integration pilot

    ThinkPad Ultranav utility

    If I try to manually install, I get an error message "this program does not support this system.

    I had the same problem with Version 3.84.1500 of the driver Thinkpad hotkey features integration

    (and the latest version of 3.84.2000)

    This is a faulty installation.

    2 the missing files.

    Solution to what Lenovo fixes installation:

    Download and install the latest version.

    Download and install the 3.81.0100 version.

    Copy the files SWI32.sys and SWIX64.sys of the 3.81.0100 in the folder version corresponding to the most recent version.

    Run setup.exe from the most recent version.

    According to the properties file SWI32.sys and SWIX64.sys are used as 'System Information Detector'.

    No wonder we get the error message "this program does not support this system.

    Lenovo, please fix.

  • "This program does not" and frezes at startup screen

    screen freezes when turned on showing only the loading logo (blue circle)

    use dell studio xps 16 laptop with windows vista 32 .recently I waas download some torrents and had not turned off my phone for 3 days... When I finally turned on it the office shows and then not response.just loading logo (blue circle)... I can click on the logo of WORKSTATION only in my office... and can access the drives .but when you press the left loading logo appears again... Basically, I can't access all the shortcuts that MY COMPUTER.i tried to click on organize menu drop down to c if all files hidden as recycler or something.but, then again the screen is stuck with
    This blue logo.
    I used ccleaner to clean up necessary (with safe mode of course) .to restore the system to go back 3 days and still no result...
    I did a scan of viruses even with the last update of avast... but no use...
    When the desktop appears and I click start it says that this program is not responding and if you expect some time... when I click ok, the screen freezes and it never responds.i have even made a scan of malware using malware bytes but still no results... is there another way to fix it otherwise re install windows?

    "THE APPLICATION IS NOT RESPONDING. THE PROGRAM CAN MEET IF YOU WAIT. DO YOU WANT TO PUT AN END TO THIS PROCESS? »

    Hello Zafer amrani,

    Method 1
    I suggest you to run the fixit from the following link:

    Difficulty of broken desktop shortcuts and common system maintenance tasks
    http://support.Microsoft.com/mats/system_maintenance_for_windows/en-us

    Method 2
    I suggest you to scan SFC. Scan SFC will replace missing or damaged files.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833
     
    Method 3
    I suggest to create a new user account and check if the problem persists.

    Create a user account
    http://Windows.Microsoft.com/en-in/Windows-Vista/create-a-user-account

    If everything works well in the new user account, then I suggest you to transfer data and settings to the fixed aid corrupt profile.

    Difficulty of a corrupted user profile
    http://Windows.Microsoft.com/en-in/Windows-Vista/fix-a-corrupted-user-profile

    Method 4:

    Go to your advanced startup options and attempt to repair your computer or the last good known Configuration.

    Startup options (including safe mode)

    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

  • Why this program does not close?

    I have 2 classes
    Demo1
    Demo2
    public class Demo1 {
         public static void main (String [] args) {
              System.out.println("Hello World!");
              System.out.println ("Execution reached the end of main method;");
              System.out.println ("The program should exit now.");
              }
         }
    import javax.swing.*;
    public class Demo2 {
         public static void main (String [] args) {
              JFrame f=new JFrame();
              f.setBounds(0,0,100,100);
              f.setVisible(true);
              System.out.println ("Execution reached the end of main method.");
              System.out.println ("The program should exit now.");
              }
         }
    When I run these classes, I get the same result.
    Execution reached the end of main method.
    The program should exit now.
    Program demo1 actually leaves and comes back to command prompt. But Demo2 program does not close. Why is Demo2 not close even if execution reaches the end of the main method?

    A program does not close until any thread no-daemon/s is / are running. Showing the JFrame begins the EDT, which is a non-daemon thread.

    DB

  • W7 Pro came with two installs. I want to install 64-bit, but this program does not run. I have processor EM64T and have installed the W7 32 bit, but want to install 64-bit

    I had XP and would like to take my EM64T processor and memory expansion capability. I bought W7 professional online and could not install the 64-bit version. I installed the 32-bit version, but want to install the 64-bit. I checked my ability of 64-bit. The error is that the installation is a 64-bit program. See below

    "The version of this file is not useful with the version of Windows that you are running. Check of your computer's system information to see whether you need a X 86 (32-bit) or x 64 (64-bit) version of the program and then contact the software publisher. »

    Hi Larry_437,

    Please take a look at the thread similar here with instructions on the upgrade of Windows 7 32 bit to 64 bit.

    You can also take a look at this article as well:

    http://Windows.Microsoft.com/en-us/Windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

    I hope this helps!

  • Frequent error pop up: a website wants to open web content using this program on your computer. This program is not a valid signature that verifies its publisher.

    Original title: frustrating popup.

    Help! I get the following popup:

    A website wants to open web content using this program on your computer.  This program does not have a valid signature that verifies its publisher

    C:|Windows/System32\Macromed\Flash/FlashUtil_ActiveX.exe

    Why I get this and how can I get rid of him?  It won't go away if I answered 'yes' or 'no' it just keeps popping up.

    Windows 8 is built with Adobe Flash Player. If you have problems to view Flash content online, run Windows Update and check if there are updates available for Flash.

    You can also try the following:

    Click Start, type: Internet Options

    Press enter

    Select the "Advanced" tab

    Under reset Internet Explorer settings, click "reset".

    This should restore the Internet Explorer default settings.

    Or try another browser like Google Chrome.

  • This program has known compatibility issues when I try to install sql server 2008 in windows 7 X 64

    I use windows 7 (X 64), and when I try to install sql server 2008 I have this message & can not install it:

    ""

    This program has known compatibility issues:

    Check online to see if solutions available on the microsoft website ara, if we find solutions, windows will automatically display a Web site that lists the steps, you can take.

    Program: Microsoft sql server 2008

    Publisher: Microsoft

    When the sql server Setup program is finished, you must apply the service pack of sql server 2008 1 (SP1) or a later service pack before you run sql server 2008 on this version of windows

    Looking for online solutions run program cancel

    ""

    And I check online for solutions & recommended program installation, but also the same message appear, so please help me, how can I fix

    Hi DoudyEwais,

    1. How do you try to install SQL server 2008 on the computer?

    2. did you of recent changes on the computer?

    I suggest that you try to install the program using compatibility mode by running the program compatibility issues

    Make older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    List of known issues when you install SQL Server on Windows 7 or Windows Server 2008 R2

    http://support.Microsoft.com/kb/955725

    If the previous step fails, then after your query in the SQL server forums by using the link below.

    SQL Server forums

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer/

  • Error installing Microsoft NET Framework 3.5 Service Pack 1 Setup program has detected that this computer does not meet the requirements to install this software

    I need to install Microsoft NET Framework 3.5 Service Pack 1, as it is necessary to perform a Dell diagnostic Test, but I've been advised that: Setup has detected that this computer does not meet the requirements to install this software. Requirement: Windows install 3.1.

    However, when I look at the download page of Windows Installer 3.1 is not actually as for XP with SP3. I tried anyway and: Setup has determined that the version of Service Pack for this system is newer than the update you are applying. There is no need to install this update. Well actually it is there...

    Is there a way to get around this?

    See below articles for solution

    1 system requirements for the .net framework

    http://msdn.Microsoft.com/library/8z6watww.aspx

    2 download links for .net framework

    http://www.Microsoft.com/net/download

    or

    http://msdn.Microsoft.com/en-us/library/5a4x27ek

    3. top 8 resources for .net framework

    http://www.Microsoft.com/net/itprofessionals

    4 dependencies and Versions of .NET framework

    http://msdn.Microsoft.com/library/bb822049.aspx

    5 frequently asked questions
    http://msdn2.Microsoft.com/en-us/netframework/aa497323.aspx

    6. management of versions, compatibility and run side-by-side in the .NET Framework
    http://msdn2.Microsoft.com/en-us/netframework/aa497340.aspx

    Good luck

  • Wireless stopped working, the error message says "this wireless does not work on this computer ' even if another computer at home has no problem with wireless services.

    My computer stopped working wireless, the error message says "this wireless does not work on this computer ' even if another computer at home has no problem with wireless services.  I've tried everything and my router is intact.  My Protection of Kaspersky flags are gone from green to red and says threats have been detected. What should I do to get back on the wireless.

    original title: Wireless not working not

    Hello

    1 have had any changes made on the computer before the show?

    2. what operating system is installed on the computer?

    Method 1:

    Check the link and try to run the troubleshooter to check if it helps.

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Method 2:

    Try to run Microsoft Safety Scanner for any malware or spyware infection and check if it helps.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: the Microsoft Safety Scanner expires 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again. The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

  • Loading magic jack I get an error: Windows Firewall has blocked some features of this program.

    Windows security alert...

    I installed MajicJack phone on the computer and created an Exception for MJ in the Windows Firewall Exceptions tab. However, when MJ loading an error message says that firewall Windows has blocked some features of this program. The message does not give me an option to unlock. What should I do as I already created an exception?

    Hello

    1. are you referring to the Windows Firewall or any other firewall?

    2 have you made changes on the computer before this problem?

    3. facing this problem with taking magic or any other application?

    I suggest you try the following steps.

    Step 1:

    If you use Windows Firewall, disable the firewall and check the status of the issue.

    How can I turn on or turn off the firewall in Windows XP Service Pack 2 or later versions? http://support.Microsoft.com/kb/283673

    Note: make sure that you enable the antivirus software, other security and firewall programs.
    Warning: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.
     
     

    Step 2:

    If the application works fine after disabling the firewall, turn on the firewall and check the status of the issue.

    If the problem persists, please check the Event Viewer logs and respond with more information to help you better.

    How to view and manage event logs in Event Viewer in Windows XP http://support.microsoft.com/kb/308427

  • shortcut for deskjet 8600 pro has disappeared. Re-run the installation program does not help. How can I get that back?

    When I bought and installed my Pro Deskjet 8600 in last July, a wonderful control program has been installed. However, the shortcut on the desktop for this program has disappeared, and I can't. Re-run the installation program does not help. How can I get that back. All I have now is an older version of the HP Solution Center, which does not have the features that I got into the habit of.

    Hello

    Uninstall the software by following programs > HP > HP Officejet Pro 8600 > Uninstall.

    Then download and install the latest version of the software below, it is a more recent software and should solve the problem you are experiencing:

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=bi-108858-3&cc=us&DLC=en&LC=en&OS=4131&product=4323659&sw_lang=

    Shlomi

  • Windows Mail: this file does not have a program associated with it

    I can receive and open the email, but when I click on anything in the email a box comes up which says "this file does not have a program associated with it for performing this action. Create an association in the set associations Control Panel. Don't know what to do. Any help would be great.

    Sorry, there just no option in this forum for the widows of mail... windows vista Home premium.

    [Original title: windows mail problem]

    ... when I click on anything in the email is a box that says "this file has no program associated with it for performing this action...".

    Everything is a bit wide.

    Assuming that you are talking about the first, (re-) represent Internet Explorer as default browser by clicking on the Start button then clicking default programs. Select set your default programs, and then Internet Explorer in the left page and click the Green Summit.

    To ensure that all users of the computer doesn't have the same problem, login Windows with an administrator account and return to the default programs page. This time, select set access and the computer program defaults.

    1. Select custom , and then click the chevrons pointing to extend the selection.
    2. Under choose a default browser, select Internet Explorer.
    3. For other browsers you use, select enable access to this program .
    4. Click OK, and then restart the computer.

    Now try to click a link in an e-mail. If it still does not work, please describe in detail what is happening, including the full text of the error message.

  • I click on the links in the email and get a box that says: "this file does not have a program associated with it for performing this action" and the link cannot be opened.

    Original title: problem e mail

    I click on the links in the email and get a box that says: "this file does not have a program associated with it for performing this action" and the link cannot be opened.

    Suggestions;

    1. make sure that your e-mail program is your default program.

    2. make sure that your Internet Explorer, or your main browser has all its faults.

    You can do both of the above by following these steps...

    Start button > right column, click default programs > click Set Your Default programs...

    1. click on your e-mail program > it doesn't say "this program has all its defaults"?
    If not, click on choose by default for this program > check all boxes below the list > click on save when finished.

    2 do the same as above for your Internet Explorer, or your main browser.

  • What does "cannot write: c: / program files/dell support center/imstrayicon" means and how can I solve the problem

    What does "cannot write: c: / program files/dell support central/imstrayicon" mean and how do I remove the note from my screen or solve the problem

    Hi Thomas,

    1. when exactly you get this message?

    2. this happens to you on starup windows or when you try to use a specific program?

    3. did you of recent changes on the computer?

    This seems to be an error related to the centre of Dell Support.

    Step 1:

    If you receive at the start, then you can try to disable any support Dell Center entries in startup items and see if it helps.

    a. Click Start, type msconfig.exe in the start search, and then press ENTER.

    b. click on the Startup tab and uncheck then the program in the list.

    Hope this information is useful.

  • Error "this program has stopped working. A problem caused the program blocking work properly"when you try to open the Kodak Home Center

    Original title: notice of work stop Windows

    I recently installed an update of Kodak Home Center version for my printer.  When I try to open the Kodak program and print photos, I get the Windows message: "this program has stopped working.  A problem caused the blocking of the program works correctly.  Windows will close the program and notify you if a solution is available.  Does anyone have a solution to this problem?

    Hi JoeBuono,

    Follow the steps below:

    Method 1:

    Start your computer in a clean boot state and see if that fixes the problem.

    See How to solve a problem by performing a boot in Windows Vista or in Windows 7

    Note: Do not disable any program startup list Kodak when you perform the clean boot.

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2:

    Uninstall and reinstall the Kodak Home Center of your computer and see if that fixes the problem.

    See also: troubleshooting install or uninstall programs

    Method 3:

    See:

    Message: "AiO Home Center has stopped working" when editing and printing photos

Maybe you are looking for

  • iPhone 5 home button does not work after ios 10

    My 5 Iphone Home button does not work after update final IOS version of 10. The home button works on the first push to wake the phone but it will not open the phone the second button. I activated the assist button, which does not work either. But wha

  • lost after upgrade to El capitan photos

    Help I lost priceless pictures of a loved one lost after updating my old OS to El Capitan. I now try to revive photos, hold the option key and select another photo library to see if this will bring my photos. I was using an old OS and when my iphone

  • Toshiba satellite c55: Blue spell Red

    I have a new laptop on windows 10 but when I try to print an image that the blue parts are a pinky red - it's a new cartridge

  • problems with scan to computer

    I try to scan to my PC and get the same error message on my computer that I need 'upgrade of the LCD screen' I don't seem to be able to upgrade.  How can I do this? THX

  • HP 14 Chromebook q000ed [after several powerwashes and a USB key recovery is crashed/restarted]

    HP 14 chromebook q000ed purchase date: November 2013 - - - A couple of months chromebook began to crash/restart. At the beginning it was a few times / week, then it got worse to the point I had 2 powerwashes in one day and hangs / reboots even guest