4. The method of claim 1 , further comprising: determining whether receiving a value for the parameter is optional and not mandatory based on the parameter definition; and determining that the first value for the parameter is a null value, wherein: replacing the first replaceable token in the query with the first value for the parameter comprises, based on determining whether receiving a value for the parameter is optional, nullifying a conditional expression in the query that includes the first replaceable token.
1. A method for generating queries, the method comprising: receiving, at a computer system, a query; identifying, by the computer system, a first replaceable token, a second replaceable token, and a third replaceable token in the query, wherein: the first replaceable token comprises a first alias that designates a first instance of a first parameter; the second replaceable token comprises a second alias that designates a second instance of the first parameter; the third replaceable token comprises the first alias that designates a reuse of the first instance of a first parameter in the query; retrieving, by the computer system, a parameter definition for the parameter from a plurality of parameter definitions, wherein the parameter definition comprises a text prompt that requests an input providing a value for the parameter; generating, by the computer system, a first graphical user interface (GUI) comprising the text prompt that requests an input providing a value for the parameter; receiving, by the computer system, and through the first GUI, input representing a first value for the parameter; replacing, by the computer system, the first replaceable token and the third replaceable token in the query with the first value for the parameter; generating, by the computer system, a second GUI comprising the text prompt that requests an input providing a value for the parameter; receiving, by the computer system, and through the first GUI, input representing a second value of the parameter; replacing, by the computer system, the second replaceable token in the query with the second value for the parameter; and submitting, by the computer system, the query for evaluation.