AMCAT Relational Algebra and SQL Questions
AMCAT Relational Algebra and SQL Questions
Question 1: Which of the following is used to denote the selection operation in relational algebra ?
A. Pi (Greek)
B. Sigma (Greek)
C. Lambda (Greek)
D. Omega (Greek)
Answer: Option B
Explanation: The selected operation selects tuples that satisfy a given predicate.
Question 2: For select operation the ________ appear in the subscript and the ___________ argument
appears in the paranthesis after the sigma.
A. Predicates, relation
B. Relation, Predicates
C. Operation, Predicates
D. Relation, Operation
Answer: Option A
Question 10: If in JOIN operation, conditions of JOIN operation are not satisfied then results of
operation is
A. Zero tuples and empty relation
B. zero tuples from two relation
C. one tuple from one relation saying null
D. two tuples from empty relations
Answer: Option A