I want to ask about simple sum query. In this question, I attached a picture to let you guys see my table. Now, I want to calculate the Januari's Target + Februari's Target = Februari's Target_YtD What I have got so far is something like this
SELECT SUM(Target) as 'Target_YtD' from revenue where Bulan =
"Januari" or Bulan = "Februari"
But the query above is only produce the final result of the calculation, and what I want is, I want to put the result in the "revenue" table (which is for Februari's Target_YtD column to be exactly). I really appreciate for those who can help me to figure out. Thank you