1. A computer-readable recording medium recording a program causing a computer that accesses a query processing apparatus to automatically generate a query window for an end user, the program causing execution of operations comprising: acquiring virtual schema information related to tagged document data from the query processing apparatus; automatically generating a query window based on the virtual schema information acquired; specifying an increase or a decrease in a number of repetitions of condition input fields for a repetitive item on the query window that is automatically generated; copying content of the condition input fields in a certain repetition to the condition input fields in a repetition to be newly added when an increase in the number of repetitions is specified; specifying a joining condition between conditions corresponding to the condition input fields in each of the repetitions, an increase or a decrease in the number of which is specified; and generating query code from information input in the query window and transmitting the query code to the query processing apparatus, and wherein the query processing apparatus includes an interface that virtually integrates and processes data distributed and stored in multiple databases in response to a query in a query language related to data in a tagged document format to return the tagged document data and provides the virtual schema information describing a relationship between the tagged document data and the multiple databases.