You are working with a Microsoft Fabric warehouse at MDFT Pro that contains a table named StudentAssessments. The table contains the following columns:
| Column name | Data type |
|---|---|
| student_id | Integer |
| assessment_name | varchar(50) |
| assessment_score | varchar(20) |
The assessment_score column contains numeric scores like ‘85’, ‘92’, etc., but also contains text values like ‘Incomplete’, ‘N/A’, or ‘Pending’ for students who haven’t completed their assessments.
You need to complete a T-SQL statement that meets these requirements:
You have the following T-SQL query:
SELECT
student_id AS studentID,
__________ AS score
FROM StudentAssessments
How should you complete the query?
Choose the correct answer from the options below.
Explanations for each answer: