1. A computer-implemented method, the method comprising: obtaining data from a user interface, the data including a first set of fields and corresponding values; receiving a first executable statement, the first executable statement referencing a second set of fields in a table in a relational database, the first executable statement having instructions to cause the database to perform operations on data in the table; generating a second executable statement based on the first set of fields and the first executable statement, comprising: determining a mapping between the first set of fields and the second set of fields, comprising: identifying a first data type of a first field in the first set of fields, identifying a second data type of a second field in the second set of fields, identifying a conversion command to convert from the first data type to the second data type, and adding the conversion command to the second executable statement, specifying a derived table using the corresponding values and the mapping, and generating instructions to cause the database to perform the operations on the derived table; and sending the second executable statement to the database.
1. A computer-implemented method, the method comprising: obtaining data from a user interface, the data including a first set of fields and corresponding values; receiving a first executable statement, the first executable statement referencing a second set of fields in a table in a relational database, the first executable statement having instructions to cause the database to perform operations on data in the table; generating a second executable statement based on the first set of fields and the first executable statement, comprising: determining a mapping between the first set of fields and the second set of fields, comprising: identifying a first data type of a first field in the first set of fields, identifying a second data type of a second field in the second set of fields, identifying a conversion command to convert from the first data type to the second data type, and adding the conversion command to the second executable statement, specifying a derived table using the corresponding values and the mapping, and generating instructions to cause the database to perform the operations on the derived table; and sending the second executable statement to the database. 2. The method of claim 1 , further comprising: receiving result data from the database associated with the execution of the operations in the second executable statement; determining that the data from the user interface is invalid based on the result data.