1. A method of generating a query input string, comprising: sorting a first input relation and a second input relation in order from the first relation to the second relation; concatenating the second input relation to the first input relation; and storing the concatenated input relations in a single string.