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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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