Question 150Asked in DSSSB PGT Computer Science (Technical), 11 Jul 2021

What is self join in Database Management System?

  1. AIn a self join, a table is joined to a number
  2. BIn a self-join, a table is joined to itself
  3. CIn a selfjoin, a table is joined with a query
  4. DIn a self-join, two databases are joined
Show answerHide answer

Correct answer: (B) In a self-join, a table is joined to itself

Explanation

A self join joins a table to itself, usually using aliases, e.g., to pair employees with their managers in the same table.

From DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021

This is question 150 of DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.