What was the transaction amount of transactionid=42

Assignment Help Computer Engineering
Reference no: EM133360643

Questions: A customer may have several accounts, and each account may participate in many transactions. Each transaction will have at least two records, one deducting amount from an account, and one adding amount to an account (for a single transactionid, the sum of amounts will equal zero).
Using SQL, answer these questions (write a SQL query that answers these questions):

  • What is the balance of accountid=42?
  • What was the transaction amount of transactionid=42?
  • Which transactionids do not sum up to zero (are invalid)?
  • List of customers without accounts?
  • What is the balance (total across all accounts) for customerid=42?
  • What is the total balance of all customers living in zip code 10001?
  • Which zip code has the highest balance?
  • List the top 1% of customers (ordered by total balance).
  • Using balances for previous two months, predict what the balances will be next month. (tip: find slope of a line; x-axis is days, y-axis is balance. 2 previous months means you have 2 points, finding slope is easy. Use slope to predict where next month's balance will be.)
  • List top 10 fastest growing accounts (using previous 2 months). (tip: same as above, fastest growing means steepest slope).
  • Write a query to add 0.01% to each savings account (note that the money has to be accounted for).
  • For each account, what was the closing balance on December 31, 2022?
  • What percentage of bank's money is held by people in the tri-state area today?

 

Reference no: EM133360643

Questions Cloud

What is living proof innovation model : What is the Living Proof innovation model? How does this company work?
Identify the key stakeholders related to this project : Identify the key stakeholders related to this project: their title/j ob position, their interests in thi: project, and their in?uence on this project.
How important is branding or brand image for marketers : How important is branding or brand image for marketers? What type of effect has online availability had on branding?
How to make at least five commits to repository in ubuntu : How to make at least five commits to the repository in ubuntu/Linux. This can be anything from adding files or making modifications to the files.
What was the transaction amount of transactionid=42 : What is the balance of accountid=42? What was the transaction amount of transactionid=42? Which transactionids do not sum up to zero (are invalid)?
How can five elements be applied to graphic : How can five elements be applied to graphic. Also does it do a good or a poor job representing the underlying data according to these principles?
Write verilog structural code for this circuit2 : Write Verilog structural code for this circuit2. Write Verilog test bench for this circuit, use at least four different set of input stimulus
Key success factors in video gaming industry : What are the key success factors in video gaming industry? Who should Xbox 360 target and why? Consider both merchants and end-consumers.
Which tool or application can identify all active ip hosts : Which tool or application can identify all active IP hosts on an IP network or subnetwork by quickly performing a Ping Scan?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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