help request required

How to view the amount of interest earned and total against each year passing parameters as principle, interest rate, and number of years.

Each year, the interest is added to the basic amount.

Interest earned = principle * rate of interest/100.

If you pass the following parameters, and then put it would be displayed as indicated below

Principle of 10000

Int ' erˆet rete 10%

Number of exercise 5

Year interestearned TotalAmount

1 1000 11000

2 1100 12100

3 1210 13310




Rep. :

CREATE or replace PROCEDURE P1 (principle IN number, number of iR, NY in NUMBER)

AS

NUMBER OF INTERESTEARNED;

BEGIN

DBMS_OUTPUT. PUT_LINE ('YEAR' |')  '||' INTERESTEARNED' | ' '||' TOTALAMOUNT');

FOR I IN 1.NY LOOP

Interestearned: = principle * iR/100;

DBMS_OUTPUT. PUT_LINE(I||) e '|| Interestearned | » '|| PRINCIPLE);

END loop;

END;

/

Start

P1 (10000,10,5);

end;

In sql:

the number of changes of var
number of num_years var

exec: interest_rate: = 10
exec: num_years: = 5

with t (principle
current_year
)
as (select 10000
1
of the double
Union of all the
Select principle *(1+:interest_rate/100)
current_year + 1
t
where current_year<>
)
Select current_year
, principle *: interestearned interest_rate/100
principle *(1+:interest_rate/100) TotalAmount
t;

CURRENT_YEAR INTERESTEARNED TOTALAMOUNT

____________ ______________ ___________

1 1000 11000

2 1100 12100

3 1210 13310

4 1331, 14641

5 1464,1 16105.1

Tags: Database

Similar Questions

  • clear an error: invalid value "1.0.0.0" request-requires-System. "

    Hey everybody. Recently my app had accepted in App World, and now I have to finally move to sign my application. I followed the steps listed HERE, and everything was fine until I actually went to sign my bar... it throws the following error:

    clear an error: invalid value "1.0.0.0" request-requires-System. "

    I have searched the forums and found this but (which also led to this), I came across another problem. I've been working out of my project of Mobile Flex using the SDK of heroes and everything seemed fine. It debugged very well, installing BAR was very good and above all, it has been accepted by RIM. I thought it was no big thing, but now I run into issues. The discussions I linked to had a response from an official developer of running off of the latest version of the SDK (0.9.3), but my project says that the SDK is not compatible with mobile projects.

    Someone at - it suggestions? I hope I don't have to redo something here, but I tell myself that I'll do all what I need to do my application upwards and running as it should. Thanks in advance guys!

    Edit: another suggestion was actually go in my manifest file in the META-INF and remove this line of text. I can do this, but I don't know what effect it will have and I suppose you far, far smarter than me. If I try to go and screw with my files, it can't end well.

    Haha what do you mean you're not too bright. you really made the right decision here. in the first step of creating a project, you can choose the Flex SDK hero. You cannot choose the BB SDK because it works only as a reference library.

    If you go into Preferences > Flash Builder > target platforms, what do you see here?

  • Help! I get the message: Code: 740 this request requires an elevation. What should I do?

    Try to download a free registry cleaner

    Right-click on the executable and select, run as administrator.
    This will give a high privilege.

    I hope this helps.

    Marilyn

  • Need help! Required before Tuesday, March 8, 2016

    Cannot add audio YouTube to iMovie for iPad 2 iOS 9.2.1 Air without using the microphone button. Help!

    Assistance required BY Tuesday, March 8, 2016

    I mean Monday, March 7, 2016

  • Why is my help requests being deleted?

    3-4 of my requests for help last week disappeared.

    I'm still waiting for assistance.

    My messages were respectful at all times.

    Why is this done?

    Spitfire,

    Maybe they were duplicates, as these two?

    Results of terminal script below for frozen, then slow cursor

    Frozen cursor MacBook Pro 13 "w updates

  • Logic of long-standing problem - help requested

    3.6.1 numbers using

    I am trying to improve the process that I do in my work. I have download and regularly need to massage ~ 850 lines of spreadsheet data but the variables seem to be either impossible to work with or the method required beyond my comprehension. Can someone please help save me from going bonkers?

    • Data records of the directors and their users, sometimes 0 users, no maximum.
    • Users share the same alphanumeric ID as their directors
    • There are two types of administrators; Like 'John Allagain' and 'other' individual directors.

    I need to order the entire worksheet go something like this: (only ordered by ID alphanumeric)

    1234 4321 328 ZZZ

    CARIS Easton

    User

    1234 4321 328 ZZZ

    Jerri rains

    User

    1234 4321 328 ZZZ

    John Allagain

    Administrator

    1234 4321 328 ZZZ

    Letha Piper

    User

    1234 4321 328 ZZZ

    Kenelm Brams

    User

    1234 4321 328 ZZZ

    Noelle Walter

    User

    2345 4311 456 ZZZ

    Chris Stopme

    Administrator

    2345 4311 456 ZZZ

    Tennyson sand

    User

    3456 6543 345 ZZZ

    Katelyn Elvis

    User

    3456 6543 345 ZZZ

    White Leyroy

    Administrator

    3654 3873 683 ZZZ

    Rowena Dixon

    User

    3654 3873 683 ZZZ

    Suzie Blankichip

    Administrator

    4235 7431 123 ZZZ

    Bob Jones

    Administrator

    4235 7431 123 ZZZ

    Unity Granville

    User

    6543 3455 875 ZZZ

    Benny Hurst

    User

    6543 3455 875 ZZZ

    Nancy Zinger

    Administrator

    6543 3455 875 ZZZ

    Randy Rennoll

    User

    9384 5837 443 ZZZ

    Kitchen of Gaylord

    User

    9384 5837 443 ZZZ

    Janessa Howard

    User

    9384 5837 443 ZZZ

    John Allagain

    Administrator

    9384 5837 443 ZZZ

    Laraine Wyght

    User

    To do this:

    1234 4321 328 ZZZ

    John Allagain

    Administrator

    1234 4321 328 ZZZ

    CARIS Easton

    User

    1234 4321 328 ZZZ

    Jerri rains

    User

    1234 4321 328 ZZZ

    Letha Piper

    User

    1234 4321 328 ZZZ

    Kenelm Brams

    User

    1234 4321 328 ZZZ

    Noelle Walter

    User

    9384 5837 443 ZZZ

    John Allagain

    Administrator

    9384 5837 443 ZZZ

    Kitchen of Gaylord

    User

    9384 5837 443 ZZZ

    Janessa Howard

    User

    9384 5837 443 ZZZ

    Laraine Wyght

    User

    2345 4311 456 ZZZ

    Chris Stopme

    Administrator

    2345 4311 456 ZZZ

    Tennyson sand

    User

    3456 6543 345 ZZZ

    White Leyroy

    Administrator

    3456 6543 345 ZZZ

    Katelyn Elvis

    User

    3654 3873 683 ZZZ

    Suzie Blankichip

    Administrator

    3654 3873 683 ZZZ

    Rowena Dixon

    User

    4235 7431 123 ZZZ

    Bob Jones

    Administrator

    4235 7431 123 ZZZ

    Unity Granville

    User

    6543 3455 875 ZZZ

    Nancy Zinger

    Administrator

    6543 3455 875 ZZZ

    Benny Hurst

    User

    6543 3455 875 ZZZ

    Randy Rennoll

    User

    The hierarchy resulting is therefore:

    • Each Director named John Allagain, with
      • Their respective below, users followed
    • Each of the other directors, with
      • Their respective under users.

    How do I get there?

    You can try something like this:

    Sort by C:

    Then sort by A:

    I'll give you this:

    Insert cells empty and drag John Allagain to the top.

    If you have a lot of John Allagain throughout the table, then you might duplicate column C column D, change all the values of the administrator for John Allagain in column D for 1success (leaving the other values of the administrator the same).  So the same sequence as above except you would first sort on column D (not C), then on column A.

    Best to make a backup of your table before you try this, in case you're wrong and you need to start over.

    SG

  • Help request for C:\windows\system32\config\system / Bad Pool Caller / on xp

    . Hi, I have xp sp3, and after the established cat off for switching on the pc appears the error message mentioned.  I tried f8 for boot from the sp3 installation CD and ends up with the BAD_POOL_CALLER message.  That's why I can't launch 'r' for recovery apparently safe mode.  Any suggestion would be appreciated before gratefully the cat gets it... Thank you.

    Well, if you can start on some CDs and get to a command prompt on your HARD drive, you should be able to implement the suggestion of KB307545 of Microsoft Support Engineer Halima S and "check if it helps" (I don't think it will be).

    Here's how you describe / have symptoms that indicate the need to use KB307545:

    Zero

    If you want to make a bootable CD from the Console of the Recovery XP (no XP media required) and then to implement the proposal of Microsoft Support Enginner Halima S and check if it helps.

    Here's how:

    Boot into the Recovery Console Windows using an XP bootable installation CD.

    If you have no XP bootable media (or aren't sure you have) create a bootable XP Recovery CD of Console and do not forget.

    This is not the same as recovery disks that might have come with the acquisition of the system store.

    You can make a bootable Recovery Console CD by downloading an ISO file and burn it to a CD.

    The ISO bootable image file you need to download is called:

    xp_rec_con. ISO

    Download the ISO from here:

    http://www.mediafire.com/?ueyyzfymmig

    Use a new CD and this simple and free program to burn your ISO file and create your bootable CD:

    http://www.ImgBurn.com/

    When you install ImgBurn, DO NOT install the Ask toolbar.

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.  These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When you start on the CD, follow the instructions:

    Press any key to boot from CD...

    Installing Windows... going to pronounce.

    Press 'R' to enter the Recovery Console.

    Select the installation that you want to access (usually 1: C:\WINDOWS)

    You may be asked to enter the password (usually empty).

    You should be in the folder C:\WINDOWS.  It's the same as the

    C:\Windows folder that you see in Solution Explorer.

    The Recovery Console allows base as file commands: copy, rename, replace, delete, chkdsk, fixboot, fixmbr, cd, etc.

    For a list of the commands in the Recovery Console, type help at the prompt of commands or read on here XP Recovery Console:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/recovery_console_cmds.mspx?mfr=true

    When you get into RC, is if you can run a chkdsk/r...  Here's how:

    A good idea before you start things must first verify the integrity of your file system by using the chkdsk command.

    In the command prompt window, run the chkdsk command on the drive where Windows is installed to try to fix any problems on the afflicted player.

    Running chkdsk is fine, even if he finds no problem.  It won't hurt anything to run it.

    Assuming your boot drive is C, run the following command:

    CHKDSK C: /r

    Let chkdsk finish to correct the problems, he could find.

    It may take a long time for chkdsk complete or they seem to be "stuck".  Be patient.  If the HARD drive led blinks always, chkdsk is something.  Keep an eye on the amount of the percentage to be sure that it is still making progress.  It may even seem to go back sometime.

    You must run chkdsk/r again until it finds no error to correct.

    Remove the CD, and then type "exit" to exit the RC and restart the computer.

    You have not to set the BIOS to boot the disk HARD since the CD won't be.

  • Cannot right click Windows 7 Explorer of files to generate the copy of the file names in a Notepad or Excel-compatible file. HELP REQUESTED!

    I struggled for several hours to restore the service right click that I used to have XP to Windows 7.  I need to save lists of file names such as displayed in the file Explorer. Allowing you to right-click and save files in Notepad. This option has been removed in Windows 7 and anything put in place to restore it.

    I have lists of items in the inventory and need to copy and paste the image corresponding to a transfer sheet to allow the server names to match images in article SKU.  The file names are long and typing is a complete waste of time.

    I used to be able to find them in the Windows Explorer, right-click on the directory and generate a txt file that I could open in Notepad or Excel.  -Easy.  Now right-click only allows an export in an uneditable image in ONE NOTE. This is useless for me. I can't do anything with an image file - I need the editable data.

    Is there a solution?  I need only the file name and extension, not the full path, in a text or spreadsheet document propagation.

    I had used the Microsoft solution to install their dose without knowing the final format was a NOTE image file format and not a simple txt file. I try now too write the batch file:

    %windir%\Printdir.bat

    or edit it in order to keep the file in Notepad and do not make the final conversion into a single Note.

    The problem is that the fix from Microsoft, designed to fix this problem, has placed the conversion file in the root directory and it cannot be overwritten.  I refused the possibility to delete, edit or write the file due to the requirements of administrative privilege mandated by the security of Windows 7 too much.

    So if anyone has a solution to every problem - that would help - I am very tired and frustrated and not happy with Microsoft.  Their zealous concern with security made their unnecessary programs for me and have further discouraged me to convert to the windows 10. frustrations and nightmares are waiting for me there I can't imagine.  What I really want to do at this point is to go back to XP.

    He ate five hours of my day. I don't have the time to fight like that. I am trying to be productive, but all I got are monumental technical walls and roadblocks - often designed into the system. Frustrating doesn't begin to describe it.

    Found a solution on a Web site:

    http://www.watchingthenet.com/how-to-print-a-directory-tree-from-Windows-Explorer.html

    They said it was for VISTA, but worked for me under Windows 7. You will need to use Notepad to the command prompt and select run as administrator to save the file in the root directory.

    Thanks for the help.

    Cheers.

  • Help request deleted blackBerry smartphones! I want to go back!

    I accidentally deleted the request for help while trying to remove a third-party application. I was surprised that a, I fact and two, let me not! How do I get it without having to reload all the software completely (and lose all my other apps)?

    Open your Desktop Manager > application loader, run it and CHECK help load.

    If nothing is present in the application loader, you need to charge your current device OS on your PC.

  • Need help request!

    Hi all

    I am faced with a request to generate a model:

    The problem is the following:

    I have a test table in

    create table test

    (

    Identification number,

    varchar2 (20 char) value,

    date date

    );

    and the row values are as follows:

    value date: ID:

    1:value1:Date1

    1:value2:date2

    1:value3:date 3

    where date1 is today, date2 is yesterday and date 3 is the day before yesterday.

    I have to generate a format like below:

    ID: old_value:new_value:changed_date

    1:value3:value2:date2

    1:value2:value1:Date1

    where id, old_value, new_value and modified date are columns.

    Any suggestions would be helpful.

    select *
    from (
      select id
           , lag(value) over(partition by id order by dt) as old_value
           , value as new_value
           , dt as changed_date
      from test
    )
    where old_value is not null ;
    
  • Help request NULLIF

    Hi all

    I wrote the request to show that if the sal & comm are same the result should display 'same' thing below, it should display "diff".

    Select nullif (sal, comm), ename

    WCP

    where is nullif (sal, comm) =: nullif (sal, comm)

    then dbms_output.put_line ('same')

    on the other

    dbms_output.put_line ('diff')

    /

    But I get the mentioned error below

    SP2-0552: Bind "NULLIF" undeclared variable.

    Help is kindly solve its appearance like why and what needs to be done.

    Thank you...

    Others have mentioned your errors of syntax and other ways to do the task, but nobody gave the reason for the specific error that you got.  Here it is:

    Select nullif (sal, comm), ename
    WCP
    where if nullif (sal, comm) =: nullif (sal, comm)
    then dbms_output.put_line ('same')
    on the other
    dbms_output.put_line ('diff')

    The equality in SQL and PL/SQL operator is = and in PL/SQL assignment operator : =. There is no =: operator anywhere, if the compiler sees the: nullif as a variable binding.

    John

  • Captivate 8 help re: requiring participant to take courses in the order / sequence

    We are working on our first e-learning program and I am a real novice at 8 Captivate. Of course, there is a huge learning curve. I don't know I have a lot of questions and thanks in advance to anyone who can help.

    Question is... now how can I require a participant to follow the course ' in the order? In other words, cannot advance to the next slide before the end of the other.

    Also, they are unable to open the table of contents and jump before--only to return.

    Is there a way to do this? I searched online and with the help and can't find it.

    Thanks again!

    Keith

    For your first question (I don't like this "forcing" very well, unlike all the teaching principles, I honor myself): don't use all default playback bar. Create a next button with a suspension point to the time that it appears at the end of the slide and slide.  If the blades are different in length, it is not possible to do it with one button of form timed for the rest of the project.

    Second question: go into the settings of the table of contents and activate this option

    ATTENTION: they will be able to open the table of contents (in overlay mode) but not navigate forward.

  • Help with required fields please

    I tried to get help with a required field and of forum aid said he's got to work for me but I can't and I have not been able to get answers more of him to help me more.

    I try to have a radio box when YES is selected to demand another field to fill.  The script I got is:

    getField("Location").required = (getField("Group1").value == 'Yes');

    Location is the area I need to be filled if the Group 1 is Yes.  The previous programme of assistance forum said I had to have this script in the two fields in Group 1 and when I do that, nothing else happens.

    What I am doing wrong?

    Please, I need to fix this immediately and I'll use this java script on many other forms that I have so I need to get there soon.

    Thank you in advance.

    This works.  It's perfect.  Thank you very much. You're my hero!

  • Help request Service!

    In a Service request, I created a field of type is TimeStamp. The name of this field is "Suspension to start."
    I would like the default value in this field is the exact time of the time when I change the status of the demand for services and the State is monitoring.
    When the status of this service request stands in assisted, the value of the field ('Suspension start') must be null, when the State becomes assisted, he is practically should be valued with the time of the change.


    I wrote in the service of the default:

    IIf ([< status >] =' attesa', Timestamp (), 'Null')

    but it does not work, how do I do?


    later as I do to develop a new field (end Suspension) with the exact time when the demand for services status changes to in a attended a different value.

    Help me, please!
    Thanks Vale.

    Hello!

    When you have selected the status field in the field list, simply click on the link to the right of the drop-down list field. It will allow you to select the status you need and it will add LookupValue() in your state.

    Try and test it and tell me...

    Max

  • Compaq 6715 b No. WiFi help requested

    I just made a new clean install of Windows XP sp3 and can't seem to get the wifi working. I just bought this 2nd hand computer. Everything seems to work except the WiFi. I think I installed all the drivers, but I'm not sure. I have the little blue light at the top of the keyboard, but still nothing.

    I have zero unknown in Device Manager.

    I have two monitors icon in the status bar that says "Bluetooth Network" (a network cable is unplugged), but I don't have any bluetooth device.

    The other icon of two monitors is the Internet cable which is connected and working.

    I reinstalled the card wifi without result, it doesn't seem fair... Check in information system/network and there was no wireless adapter. So, is this map? Mobo?

    Any help would be appreciated.

    Hello:

    I agree that the motherboard has a problem.

    (Being the exact same model) wireless card would have passed the BIOS check and worked, because the map is a map of known work, or you would have gotten the unsupported BIOS wireless card stop Code if the motherboard has picked up the card and BIOS has rejected.

Maybe you are looking for

  • When I started Firefox this morning, my homepage has been replaced by a search site - why did this happen?

    I had my home page on my company's Web site. It has been set that way for several months. Today, after my computer starts and by opening the browser Firefox, my home page has been reset to 'www.sweetpacks-search.com/?barid= & src = 97 &. In addition,

  • Help decipher a kernel panic please?

    I get panics from the kernel at startup to the top of my Mac Pro mid-2012. When the panic appears at startup, it asks me to press a button and it will then restart and launch. I have searched the web for the translation of the error log, but am not h

  • Re: Satellite L500 - Temro number - package error 1722 Windows Installer

    Hello, I bought Toshiba L500 in January, but I could not update with Tempro since May. Towards the end of the installation, the Setup program crashes and it says the following in Turkish: "Hata 1722. Drinking Windows Installer paketi Island boğulma b

  • SMU-4304 causing the ripple on the input signal?

    I have an SMU-1082 chassis that contains a high-6341 and a PXI-4304 module.  To check my code, I have connected the analog input (channel 0) of the 4304 to the digital output (PFI 12) of the 6341.  My program VI shows a ripple of Vpp 0.2 on the analo

  • How to activate oem xp pro?

    I have Fujitsu Tablet PC which was very slow.  I tried to format it and reinstall XP OEM CD Fujitsu have me.   He could not install it because it seems that windows could not detect my hard drive.   After trying 3 days to try and do not, someone sugg