Oracle sql complete the following steps to create a

Assignment Help Database Management System
Reference no: EM13576055

Complete the following steps to create a procedure to calculate the tax on an order. The BB_TAX table contains the states that require taxes to be submitted for Internet sales. If the state is not listed in the table, then no tax should be accessed on any order. The shopper''s state and basket subtotal are the inputs into the procedure while the tax amount should be returned. <br/> <br/>1. Create a procedure called TAX_COST_SP to accomplish the tax calculation task. Keep in mind that the state and subtotal values are inputs into the procedure and the procedure is to return the tax amount. Review the contents of the BB_TAX table, which contains the tax rate for each state that needs to be taxed. <br/> <br/>2. Create a host variable named G_TAX to hold the value returned by the procedure. <br/> <br/>3. Invoke the procedure using the values of "VA" for the state and $100 for the subtotal. <br/> <br/>4. Display the tax amount returned by the procedure (it should be $4.5). <br/>

Reference no: EM13576055

Questions Cloud

Quadratic equation select a quadratic equation and solve it : select a quadratic equation and solve it using the quotcompleting the squarequot method. show your work in full
Quadratic equation select a quadratic equation and solve it : select a quadratic equation and solve it using the quotcompleting the squarequot method. show your work in full
Updating column in table after a shopper completes the : after a shopper completes the ordering process a procedure is called to update the following columns in the basket
Expenditure gap will there be an inflationary or : will there be an inflationary or expenditure gap or a recessionary expenditure gap if the full employment level of
Oracle sql complete the following steps to create a : complete the following steps to create a procedure to calculate the tax on an order. the bbtax table contains the
Checking account balance 592530 postdated check from a : for each individual situation determine the amount that should be reported as cash. 1. checking account balance 937640
A bank quotes a rate of 589 percent with an effective : a bank quotes a rate of 5.89 percent with an effective annual rate of 6.05 percent. does the bank use annual quarterly
On the advice of his accountant hans made a code sec 871d : hans a citizen and resident of argentina is a retired bank executive. hans does not hold a green card. at the start of
The bond can be called at par in one year or anytime : general electric has just issued a callable at par ten-year 6 coupon bond with annual coupon payments. the bond can be

Reviews

Write a Review

Database Management System Questions & Answers

  Show the database development processes

Assume you were a newly hired IT Security Manager at a software development company that in the past hasn't paid much attention to security, especially in its database development processes.

  Identify the data analytics tasks

Provide a clear statement of the aims and objectives of the data analytics study and the possible outcomes in terms of discovered knowledge and its potential application towards solution of the problem. In this section you need to discuss the busi..

  How to change content in order for new list

To what kind of list would you change it? What would you require to change about content in order for new list type to be effective for purpose of list?

  Create a function

Create a function that returns the day of the week for a specified date. Create a trigger that displays the message "Emp table updated" when an update to the employee table increases the employee's basic salary.

  Database system development

The database application project (DAP) for this course consists of the creation of a fully functional Microsoft Access database application for a real client.

  How to improve the quality of datasets

Recommend at least three (3) specific tasks that could be performed to improve the quality of datasets, using the Software Development Life Cycle (SDLC) methodology. Include a thorough description of each activity per each phase.

  Physical schema created for a database

At this point in the design process, you would have a detailed physical schema created for a database. How would you approach converting your schema into a database, complete with sample data? Explain your approach in two to three paragraphs.

  Estimate the height of the b plus tree

Estimate the height of the B+ tree. (Giving a range of heights is fine.) Also estimate the amount of memory needed to store the tree, including leaves but not including the posting lists themselves.

  What are some reasons for studying file systems

What are the advantages of having the DBMS between the end user's applications and the database?

  Sketch dfsa for identifiers-contain only letters and digits

Sketch a DFSA for identifiers which contain only letters and digits, where identifier should have at least one letter, but it need not be first character.

  Use of the internet and web continues to increase

As the use of the Internet and web continues to increase, students should be familiar with Internet shopping and the information security related to it. This should be done by answering the issues below related to a shopping of a product via the I..

  Create a table with the following column headings

You learned that WIPO is the global arbitrator for all intellectual property-related issues. Read any two cases for the year 2007 on cybersquatting. Create a table with the following column headings.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd