Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Sql is not working after changing from MsAccess into sql server

$
0
0

Following Sql  is not working after changing from MsAccess into sql server. 

sum(trn.sales) as sales,
sum(trn.cost) as  cost,
sales - cost as profit  // Here is not working . can we not use sales a column. Please advise
from  trn

Kind Regards

pol


polachan


Viewing all articles
Browse latest Browse all 8428

Trending Articles