SQL Calculated field selected values -



SQL Calculated field selected values -

i have sql view columns idx, date, signal, value have signal1 signal10 want on daily basis computed column calculated follows:

compval= signal7*signal8-signal9

other columns retain original values

how this?

you can create view or add together column view:

create view v_view select v.*, (signal7*signal8-signal9) compval first_view v;

sql

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -