1.

Which of the following correctly describes the between predicate in the where clause?(a) It is used to check whether a value is in between two specified values(b) It is used to check whether a value is exactly in the center of the relation alphabetically(c) It is used to check whether a value is in between any two other values in the database(d) None of the mentionedI have been asked this question at a job interview.This key question is from Set Operations topic in division Introduction to Relational Model and Sql of RDBMS

Answer»

Correct answer is (a) It is USED to check whether a value is in between TWO specified values

The best I can explain: The between PREDICATE in the where clause is used to check whether a value is in between two EXTERNALLY specified values. This clause is used to list out all tuples having a value within a range.



Discussion

No Comment Found

Related InterviewSolutions