Page 1 of 1

You have a database that contains a user-defined function named Schema1.Udf1 and two tables named Schema1.Table1 and Sch

Posted: Mon Oct 17, 2022 4:49 pm
by answerhappygod
You have a database that contains a user-defined function named Schema1.Udf1 and two tables named Schema1.Table1 and Schema1.Table2.
Schema1.Table1 has 1 million rows. The schema for Schema1.Table1 is configured as shown in the following table.

Schema1.Udf1 was defined by using the following code:

You need to write a query that will contain the following columns:
✑ Country
✑ CountryID
✑ CustomerName
The solution must meet the following requirements:
✑ Rows must be returned only if the function returns data.
✑ The amount of time it takes the query to execute must be minimized.
Which query should you use?
You Have A Data 1
You Have A Data 1 (17.12 KiB) Viewed 106 times
You Have A Data 2
You Have A Data 2 (32.37 KiB) Viewed 106 times
You Have A Data 3
You Have A Data 3 (34.59 KiB) Viewed 106 times
A. Option A
B. Option B
C. Option C
D. Option D