Consider the following relations where keys are underlined:
P(X, Y, Z) and Q (A, X)
P contain 500 records and Q contain 1500 records. X in Q is a NON-NULL attribute and a foreign key referencing to P. If a is the maximum number of records in
P⋈Q and b is the minimum number of records in
P⋈Q.
What is the value of 2a-b________
(Where
⋈ is a natural join)
- 1500