Consider the following relation.
Student(Rno, name, Branch, Year)
| Rno | name | Branch | Year |
| 1 | Balaji | CSE | 1 |
| 2 | Ravi | CSE | 2 |
| 3 | Vijay | CSE | 2 |
| 4 | Sam | IT | 2 |
| 5 | Suman | IT | 2 |
| 6 | Ritu | ME | 1 |
What is the output for the given query?
Query:
Select distinct branch
from student ;
1
Branch
---------------
CSE
IT
ME
2
Branch
---------------
CSE
CSE
CSE
IT
IT
ME
3
Branch
---------------
IT
IT
ME
4
Branch
---------------
CSE
CSE
CSE
ME