Given:
TableA:
Name Hobbies Anu Dance Anuj Music
TableB:
Name Hobbies Prannav Reading Anuj Music
Find TableA U TableB ?
Given:
TableA:
| Name | Hobbies |
|---|---|
| Anu | Dance |
| Anuj | Music |
TableB:
| Name | Hobbies |
|---|---|
| Prannav | Reading |
| Anuj | Music |
Find TableA U TableB ?
Solution
✅ Correct Option: 1
Union combines all rows from both tables and keeps each duplicate row only once. The row (Anuj, Music) is in both tables, so it appears once in the result.
| Name | Hobbies | Source |
|---|---|---|
| Anu | Dance | TableA only |
| Anuj | Music | Both (kept once) |
| Prannav | Reading | TableB only |
Option 2: this is the rows of TableB alone, not the union.
Option 3: this is the rows in TableB that are not in TableA (), not the union.
Option 4: the hobbies are swapped between Anu and Anuj, so these rows are not in either table.
Related questions:
2025: 20 May Shift 1
2026: 31 May Shift 1
2026: 18 May Shift 2
2026: 18 May Shift 2
2025: 20 May Shift 1