A simple greedy heuristic to find good join ordering