Practice Exam

Question 66 of 75

Complete The T-SQL Query To Format Course Names

You are working with a Microsoft Fabric warehouse at MDFT Pro that contains a table named Enrollments. The table contains the following columns:

Column nameData type
course_idInteger
course_namevarchar(50)
enrollment_dateDatetime

You need to complete a T-SQL statement that meets these requirements:

You have the following T-SQL query:

SELECT 
    course_id AS courseID,
    __________ AS courseName
FROM Enrollments

How should you complete the query?

Choose the correct answer from the options below.

Explanations for each answer:

Learn more about the T-SQL TRY_CAST function:
TRY_CAST Function
Next Question
Discuss this question on social media: