Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To put himself through school, Zach operates an ice cream truck that travels through neighborhoods, ringing a bell to attract kids that want a cold

image text in transcribed

To put himself through school, Zach operates an ice cream truck that travels through neighborhoods, ringing a bell to attract kids that want a cold ice cream treat. Zach's inventory includes many ice cream products and he tracks which items are sold in each sale. He occasionally adds new items to his list of ice cream products for sale. Zach only accepts cash for each sale. To identify the routes that generate the most sales, Zach summarizes sales by neighborhood but he only tracks neighborhoods with at least one sale. Zach deposits the cash received in his bank account at the end of each day. (Hint: There is only one agent for this diagram - Neighbor) Using the Cash Receipt Table below, write the SQL that show the output of total cash payments from Customer 'C-2' (hint: use the sum () function- Cash Receipt: BA-6 Remittance Advice# RA-1 RA-2 RA-3 RA-4 RA-5 Bank Amount Account# 1,666 10,000 BA-7 72,000 BA-7 32,600 BA-7 1,669 BA-6 Date 25-JUL-2014 26-JUL-2014 15-AUG-2014 15-AUG-2014 25-AUG-2014 Customer Cashier Number Number C-2 E-39 C-2 E-39 C-1 E-39 C-5 E-39 C-2 E-39 To put himself through school, Zach operates an ice cream truck that travels through neighborhoods, ringing a bell to attract kids that want a cold ice cream treat. Zach's inventory includes many ice cream products and he tracks which items are sold in each sale. He occasionally adds new items to his list of ice cream products for sale. Zach only accepts cash for each sale. To identify the routes that generate the most sales, Zach summarizes sales by neighborhood but he only tracks neighborhoods with at least one sale. Zach deposits the cash received in his bank account at the end of each day. (Hint: There is only one agent for this diagram - Neighbor) Using the Cash Receipt Table below, write the SQL that show the output of total cash payments from Customer 'C-2' (hint: use the sum () function- Cash Receipt: BA-6 Remittance Advice# RA-1 RA-2 RA-3 RA-4 RA-5 Bank Amount Account# 1,666 10,000 BA-7 72,000 BA-7 32,600 BA-7 1,669 BA-6 Date 25-JUL-2014 26-JUL-2014 15-AUG-2014 15-AUG-2014 25-AUG-2014 Customer Cashier Number Number C-2 E-39 C-2 E-39 C-1 E-39 C-5 E-39 C-2 E-39

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditing And Edp Objective Questions And Explanations

Authors: Irvin N. Gleim, William A. Hillison

5th Edition

0917537521, 978-0917537523

More Books

Students also viewed these Accounting questions