Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a
Message
From
13/11/2002 15:24:00
 
 
To
05/11/2002 08:10:34
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
00718875
Message ID:
00722337
Views:
12
Hi!

I am not sure what was the error message you were referring to but the first change you need is to rename the 'Group' column, which is a SQL key word.

I changed the query as follows and it seems to be working fine this way:

Select * ,
(Select BasePrice * GroupFactor
FROM TableA a2 INNER JOIN TableC c ON a2.[Group] = c.[Group])
from TableA a
INNER JOIN TableB b ON a.OrderedItem=b.OrderItem

Hope this helps.
Ramona
Previous
Reply
Map
View

Click here to load this message in the networking platform