1.

Any recursive view must be defined as the union of two subqueries: a _______ query that is nonrecursive and a __________ query.(a) Base, recursive(b) Recursive, Base(c) Base, Redundant(d) View, BaseThe question was posed to me during an online interview.This intriguing question comes from Recursive Queries and Aggregation Features in section SQL : Queries, Constraints and Triggers of Database Management

Answer»

Right choice is (a) Base, recursive

Explanation: First compute the base QUERY and add all the resultant TUPLES to the RECURSIVELY DEFINED view relation.



Discussion

No Comment Found

Related InterviewSolutions