Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In SQL . (1 point) Create a data frame that contains a list of customer_id whose sum amount of payment in 2005 is more than

image text in transcribed

In SQL

. (1 point) Create a data frame that contains a list of customer_id whose sum amount of payment in 2005 is more than $200. Result should be as follows for self verification purpose. Out[66]: amount customer_id 148 216.54 526 221.55 . (1 point) Merge/join the result with customer data frame set to get their names. Result should be as follows for self verification purpose. Out [64]: first_name last name amount O ELEANOR HUNT 216.54 KARL SEAL 221.55 (2 points) Create a data frame that contains a list of customer_id that rented in 2005; Create another data frame that contains a list of customer_id that rented in 2006 (filter using rental_date). a. (1 point) Now create a data frame of customer_id that exist in the 2005 data frame but not in the 2006 data frame. The count should be 441. b. (1 point) Now . (1 point) Create a data frame that contains a list of customer_id whose sum amount of payment in 2005 is more than $200. Result should be as follows for self verification purpose. Out[66]: amount customer_id 148 216.54 526 221.55 . (1 point) Merge/join the result with customer data frame set to get their names. Result should be as follows for self verification purpose. Out [64]: first_name last name amount O ELEANOR HUNT 216.54 KARL SEAL 221.55 (2 points) Create a data frame that contains a list of customer_id that rented in 2005; Create another data frame that contains a list of customer_id that rented in 2006 (filter using rental_date). a. (1 point) Now create a data frame of customer_id that exist in the 2005 data frame but not in the 2006 data frame. The count should be 441. b. (1 point) Now

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_2

Step: 3

blur-text-image_3

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

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

3. What are potential solutions?

Answered: 1 week ago

Question

4. I can tell when team members dont mean what they say.

Answered: 1 week ago