adplus-dvertising
frame-decoration

Question

Suppose now that R(A,B) and S(A,B) are two relations with r and s tuples, respectively (again, not necessarily distinct). If m is the number of (not necessarily distinct) tuples in the result of the SQL query:

R intersect S;

Then which of the following is the most restrictive, correct condition on the value of m?

a.

m = min(r,s)

b.

0 <= m <= r + s

c.

min(r,s) <= m <= max(r,s)

d.

0 <= m <= min(r,s)

Posted under DBMS

Answer: (d).0 <= m <= min(r,s)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Suppose now that R(A,B) and S(A,B) are two relations with r and s tuples, respectively (again, not necessarily distinct). If m is the number of (not necessarily distinct) tuples in...

Similar Questions

Discover Related MCQs

Q. Suppose relation R(A,B,C,D,E) has the following functional dependencies:
A -> B

B -> C

BC -> A

A -> D

E -> A

D -> E

Which of the following is not a key?

Q. The normal form which satisfies multivalued dependencies and which is in BCNF is

Q. Which of the following is a tuple-generating dependencies ?

Q. The main task carried out in the __________ is to remove repeating attributes to separate tables.

Q. Which of the normal form is based on multivalued dependencies ?

Q. Which forms has a relation that possesses data about an individual entity?

Q. If a multivalued dependency holds and is not implied by the corresponding functional dependency, it usually arises from one of the following sources.

Q. Which of the following has each related entity set has its own schema and there is an additional schema for the relationship set?

Q. In which of the following , a separate schema is created consisting of that attribute and the primary key of the entity set.

Q. Fifth Normal form is concerned with

Q. In 2NF

Q. _____________ can help us detect poor E-R design.

Q. Which of the following has each related entity set has its own schema and there is an additional schema for the relationship set.

Q. Suppose the user finds the usage of room number and phone number in a relational schema there is confusion.This is reduced by

Q. What is the best way to represent the attributes in a large database?

Q. Designers use which of the following to tune performance of systems to support time-critical operations?

Q. In the schema (dept name, size) we have relations total inst 2007, total inst 2008 . Which dependency have lead to this relation ?

Q. Relation dept year(dept name, total inst 2007, total inst 2008, total inst 2009) .Here the only functional dependencies are from dept name to the other attributes .This relation is in

Q. Thus a _______ of course data gives the values of all attributes, such as title and department, of all courses at a particular point in time.

Q. Representations such as the in the dept year relation, with one column for each value of an attribute, are called _______ they are widely used in spreadsheets and reports and in data analysis tools.