Question
Suppose you're analyzing a large data set that contains customer transactions. Each customer may have several transactions (i.e. multiple purchases). Since the data set is
Suppose you're analyzing a large data set that contains customer transactions. Each customer may have several transactions (i.e. multiple purchases). Since the data set is so large and noisy, you want to choose the portion that are from the customers who have had at least 7 transactions, or have had purchase amount at least $50, i.e., " customer_transaction >= 7 or dollar_amount >= 50."
In programing code, complement is expressed as "!". For example "A is not equal to 10" is written "A != 10". Now we need a short code to choose the data portion that satisfies "customers who have had at least 7 transactions, or have had purchase amount at least $50".
Complete the following statement by filling in the blank to choose the right portion:
SELECT IF ! (customer_transaction____7 and dollar_amount____50)
Briefly explain your answer in one sentence.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started