what is B in this mysql query?
SELECT N, IF(P IS NULL,'Root',IF((SELECT COUNT(*) FROM BST WHERE P=B.N)>0,'Inner','Leaf')) FROM BST AS B ORDER BY N;

What exactly is B.N ?

Author: nb
Login to Answer
Sort By:
Oldest
|
Newest
|
Vote
|
My Answer