Below SQL does a full table scan for all tables when I see explain and cost is around 500, Is there a smart way to write this SQL to increase performance?
SEL