문제

Want to create a query that will join 3 tables together (a, b, c). Then update a specific cell in b.1, based on the subtraction of two specific cells in table b( b.2 - b.3).

Any help would be appreciated.

도움이 되었습니까?

해결책

UPDATE b
SET b.c1 = b.c2 - b.c3
FROM a 
    JOIN b ON ...
    JOIN c ON ...
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top