Add support for three table no fix join. Add test cases