Question: Find the output for the below: - Create the UDF create or replace function array sort ( an array ) returns array language javascript $$

Find the output for the below: -Create the UDF create or replace function array sort(an array)
returns array
language javascript
$$
return A.sort();
$$
X
-Call the UDF with a small array.
select array_sort(parse_json([2,4,5,3,1]));
Select one:
a.[5,4,3,2,1]
b.[2,4,5,3,1]
c. None of the listed options
Od.[1.2.3.4.5]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!