QuestionQ26
VerifiedData Modeling with Databricks SQLA data analyst created a user-defined function with the following code:
CREATE FUNCTION price(spend DOUBLE, units DOUBLE)
RETURNS DOUBLE -
RETURN spend / units;
Which of the following code blocks can apply this function to the customer_spend and customer_units columns in the customer_summary table to create the customer_price column?
Community Discussion