Consider the following student relation.

Student relation has Name, Subject1_Marks, and Subject2_Marks attributes.

Name Subject1_Marks Subject2_Marks
A 10 5
B Null 10
C 20 15
D Null 20
E 30 Null
F Null 25

What is the output for the given SQL query?

Query:

Select sum(subject1_Marks)+sum(Subject2_Marks)

From student;

1
135
2
50
3
null
4
Error

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation