General information
Forum:
Microsoft SQL Server
Hi this is what I would like to accomplish.
TableA
-------
OrderedItemID
OrderedItem
Group
TableB
--------
OrderItemID
OrderItem
Baseprice
TableC
--------
GroupID
Group
GroupFactor
Select * from TableA a ,
(Select BasePrice * GroupFactor
FROM TableA a2
INNER JOIN TableC c
ON a2.Group = c.Group)
INNER JOIN TableB b ON a.OrderedItem=b.OrderedItem
I receive an error when I try this statement.
Thanks for the help,
Alvin
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only