Question
Download Solution PDFConsider the relations :
R1{Roll_no, Name, Grades} and
R2 {Roll_no, Subject_ID, Grades}
Which of the following operations cannot be performed using the above relations ?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFThe correct answer is Union.
Key Points
- Union operation in relational databases requires that the two relations have the same set of attributes (columns) and compatible domains (data types).
- In this case, we have two relations:
- R1 {Roll_no, Name, Grades}
- R2 {Roll_no, Subject_ID, Grades}
- These relations do not have the same set of attributes; R1 has (Roll_no, Name, Grades) and R2 has (Roll_no, Subject_ID, Grades).
- Because the attributes are not identical, we cannot perform the Union operation on these two relations.
Additional Information
- The Select operation can be performed to filter tuples based on a condition.
- The Join operation can be performed to combine tuples from R1 and R2 based on a common attribute (e.g., Roll_no).
- The Project operation can be performed to select specific attributes from a relation.
Last updated on Feb 20, 2025
-> A total number of 113 revised vacancies have been announced for the post of Scientific Assistant in Computer Science (CS), Information Technology (IT), and Electronics & Communication (EC) streams.
-> Online application form, last date has been extended up to from 17th April 2025.
->The NIELT has revised the Essential Qualifications for the post of Scientific Assistant. Candidates must possess (M.Sc.)/ (MS)/ (MCA) / (B.E.)/ (B.Tech) in relevant disciplines.
-> The NIELIT Scientific Assistant 2025 Notification has been released by the National Institute of Electronics and Information Technology (NIELIT).