I'll go further -- if you don't know where to start, and you want this done is any reasonable amount of time, there are literally dozens of shrink-wrapped, open-sourced tools to do this -- and I'm sure many can recommend specific ones.
If you're asking for purely theoretical reasons, we can continue to go back & forth and discuss at will.
In more practical terms, start out with something crazy simple, manually enter your limited user base, and hard-code the queries they can performed. Sure, a few checkboxes and input fields will help, but don't built anything dynamic right now. Get it working, and customize from there.