I used this SQL to do that population, directly from the tables created ... as weighted_diff , decimal(((cost_before-cost_after)*frequency)/(cost_before*frequency),5,2) as diff_pct , substr(statement_text,1,100) as stmt from ecrooks.advise_workload where ...
↧