Consider 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 ? 

This question was previously asked in
NIELIT Scientific Assistant CS 5 Dec 2021 Official Paper
View all NIELIT Scientific Assistant Papers >
  1. Union 
  2. Select 
  3. Join 
  4. Project

Answer (Detailed Solution Below)

Option 1 : Union 
Free
NIELIT Scientific Assistant Quantitative Aptitude Mock Test
0.5 K Users
20 Questions 20 Marks 30 Mins

Detailed Solution

Download Solution PDF
Relational Database Operations - halleshangoutonline.com

The 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.
Latest NIELIT Scientific Assistant Updates

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).

Get Free Access Now
Hot Links: teen patti casino download teen patti cash teen patti joy official teen patti apk download