revise menu selection sql