COL。一個&乙OREADY INSERT正確的句子SQL
我的樣本數據:
A B K P M
-- -- -- -- --
2 5
3 5
查詢:
select
([A] + [B]) AS [K],
([A] * [B]) AS [P],
-- can I write like this?
([P]-[K]) AS [M]
-- or must I write :
-- ([A]+[B]) - ([A]*[B]) /* sometimes the formula is very long
from
TB
我不清楚你在問什麼。也許你可以向我們展示真正的整個公式和當前查詢? –