On finding the optimal access path to solve a relational data base query