UST Interview Question

Program for Fibonacci Inheritance Query for inner join