Hi I Have a table as below
Term Round SourceID TotalEncounters TotCount
1 ____45 ____1 ___1200 ____________ 9
1 ____45 ____2 ___1200 ___________ 10
2 ____45 ____1 ____30 ____________ 19
2 ____45 ____2 ____30 _____________4
3 ____45 ____1 ___316 ____________ 10
3 ____45 ____2 ___316 _____________5
how do I write an update query that updates Term 3 only with:
the TotalEncounters of Term 1 added to Term 3 grouped by sourceID and TotCount of
Term1 added to Term 3 grouped by sourceID. I want this query to run everytime the
table gets populated.
thanks in advance
Maggs
Term Round SourceID TotalEncounters TotCount
1 ____45 ____1 ___1200 ____________ 9
1 ____45 ____2 ___1200 ___________ 10
2 ____45 ____1 ____30 ____________ 19
2 ____45 ____2 ____30 _____________4
3 ____45 ____1 ___316 ____________ 10
3 ____45 ____2 ___316 _____________5
how do I write an update query that updates Term 3 only with:
the TotalEncounters of Term 1 added to Term 3 grouped by sourceID and TotCount of
Term1 added to Term 3 grouped by sourceID. I want this query to run everytime the
table gets populated.
thanks in advance
Maggs
Last edited: