Does anyone know where I can get a tutorial on creating specific queries based on input from the user of the application. If I could get the code that would do also.

In advance Thanks!