SQL String Language Question. |
尚未結案
|
Vashee
初階會員 發表:38 回覆:87 積分:25 註冊:2003-03-31 發送簡訊給我 |
Say, I want to calculate Price from 'MenuTable' <(Times)> Quantity from 'TempTable' and output as Subtotal on 'TempTable' Is that possible to be done by one single query??
Then execute this query every time a SINGLE ITEM is inserted into the temp order table Thanx
|
chih
版主 發表:48 回覆:1186 積分:639 註冊:2002-04-02 發送簡訊給我 |
這個是不是作業阿???
引言: Say, I want to calculate Price from 'MenuTable' <(Times)> Quantity from 'TempTable' and output as Subtotal on 'TempTable' Is that possible to be done by one single query?? Then execute this query every time a SINGLE ITEM is inserted into the temp order table Thanx |
ko
資深會員 發表:28 回覆:785 積分:444 註冊:2002-08-14 發送簡訊給我 |
|
Vashee
初階會員 發表:38 回覆:87 積分:25 註冊:2003-03-31 發送簡訊給我 |
My program is the used of Delphi with Access.
My database is set up with Access, but the SQL is done using ADOQuery in Delphi.
That's it. May be this is more clear. Table: Menu (Price) * Table: Temp (Quantity) = Table: Temp (Subtotal); but in SQL language. how can I achieve this?
thanx
|
Vashee
初階會員 發表:38 回覆:87 積分:25 註冊:2003-03-31 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |