Ultimate access to all questions.
Upgrade Now π
Sign in to unlock AI tutor
A data engineer is tasked with creating a function named print_details that outputs the name of the current catalog and database, separated by a space. Which of the following statements correctly creates this function?
print_details
A
CREATE FUNCTION print_details() RETURNS STRING RETURN concat(current_catalog(),β β,current_database());
B
CREATE FUNCTION print_details(STRING) RETURNS concat(current_catalog(),β β,current_database());
C
CREATE FUNCTION print_details RETURNS STRING RETURN concat(current_catalog(),β β,current_database());
D
CREATE FUNCTION print_details(STRING) RETURN concat(current_catalog(),β β,current_database());
E
CREATE FUNCTION print_details() RETURNS concat(current_catalog(),β β,current_database());