Improved LogicalPlanner and LogicalPlan to recognize table subqueris.