Optimization of multiple relational joins for query analysis in retrieving data from on line date warehousing