4. The computer-implemented method of claim 1 , wherein generating the first query to obtain data associated with the derived field involves: using the data model to create one or more views of the one or more tables; and generating the query from the one or more views.
4. The computer-implemented method of claim 1 , wherein generating the first query to obtain data associated with the derived field involves: using the data model to create one or more views of the one or more tables; and generating the query from the one or more views. 5. The computer-implemented method of claim 4 , wherein using the data model to create the one or more views of the one or more tables involves: identifying one or more fields associated with the query; determining necessary joins associated with the one or more fields; transforming joined tables associated with the necessary joins; and building the one or more views from the transformed joined tables.