If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
relation cardinality/selectivity (was "A difficult question, need help")
Given is a relation R (A1,A2, A3) with three attributes!
c (A2) = 2 c: cardinality
s (A2) = 64 s: selectivity
An index (binary tree) is created for A2!
What is the depth of a binary tree T(A2) in best case?
What is the depth of a binary tree T(A2) in worst case?
Assuming you are using the standard definitions for cardinality and selectivity or a relation, the specified relation can't exist, so both answers are NULL.