public void sampleQueryMenu()
    {
        boolean wantToQuit = false;
        while (!wantToQuit)
        {
            System.out.println("This is the sample query menu.");
            
            System.out.println("1. List titles of all projects, and the number of commits they have done on them.");
            System.out.println("2. List emails of all Contributors who are working on more than one project.");
            System.out.println("3. List all contributors assigned to work on bugs, and number of bugs assigned to them.");
            System.out.println("4. Find the most recent Post(s) of all the Projects.");
            System.out.println("5. Find the name and phone numbers of all Managers of ongoing Projects.");
            System.out.println("6. List the emails of all Contributors to projects that do not have managers.");
            System.out.println("7. Return to main menu");
            int option = userInput.nextInt();
            switch (option)
            {
                case 1:
                    query1();
                    break;
                case 2:
                    query2();
                    break;
                case 3:
                    query3();
                    break;
                case 4:
                    query4();
                    break;
                case 5:
                    query5();
                    break;
                case 6:
                    query6();
                    break;
                case 7:
                    wantToQuit = true;
                default:
                    System.out.println("Invalid input. Try again.");
            }
        }
    }