Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Subtracting and Inserting new field

$
0
0

Hi,

I have a table:

Metric          MetricDescription                       Season    Measure

01                       Cancellation                      Ho11         3

03                           GF                                HO11          4

I need to make a new Row Based on Same season. I need to subtract GF- Cancellation  and call it NS with 46 metric. So my table should look like

Metric          MetricDescription                       Season    Measure

01                       Cancellation                      Ho11         3

03                           GF                                HO11          4

46                          NS                                 HO11          1

Any Suggestion?


SPPandey


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>