Let a, b , c ,d be the database fields then you can write a db query like this
select a,b,c,d,((a+b+c)/d) from tablename
You can use any arithmetic operations like the above along with the Query and fill the data set using this sort of queryHow to dynamically generate a dataset?
you need to run a query - these performs actions on the data - running the query will generate the data for the extra column -
No comments:
Post a Comment