I would like to create a table, which contains formulas. These formulas will be passed some id, based on which I would like them to make a SELECT query on a particular table