Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A).Count(*)(I). Returns the number of rows in a relation which has not null values in given column
(B). Count(column)(II). Returns rows present in relation one and relation two both
(C). Minus(III). Returns number of rows in a relation
(D). Intersection(IV). Returns rows present in the first relation but not in the second relation.

Solution

✅ Correct Option: 4
List IList II
(A) Count(*)(III) Returns number of rows in a relation
(B) Count(column)(I) Returns the number of rows in a relation which has not null values in given column
(C) Minus(IV) Returns rows present in the first relation but not in the second relation
(D) Intersection(II) Returns rows present in relation one and relation two both

Count(*) counts every row, including rows with NULLs, while Count(column) skips NULLs in that column.

Minus is the set difference, so the order of the relations matters. Intersection gives only the rows common to both.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question