Q: 2
A data analyst has created a user-defined function using the following line of code:
CREATE FUNCTION price(spend DOUBLE, units DOUBLE)
RETURNS DOUBLE
RETURN spend / units;
Which of the following code blocks can be used to apply this function to the customer_spend and
customer_units columns of the table customer_summary to create column customer_price?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.