jarv
05-15-2009, 12:02 PM
Can anyone help?
I have 3 tables
stores - StoreID / StoreName
branches - BranchID / StoreID
reports - BranchID
I just want to get the StoreName?!
SELECT * FROM reports INNER JOIN branches ON branches.BranchID=reports.branchID INNER JOIN stores ON branches.StoreID=stores.StoreID
my code outputs missing operator
Can someone please help?
I have 3 tables
stores - StoreID / StoreName
branches - BranchID / StoreID
reports - BranchID
I just want to get the StoreName?!
SELECT * FROM reports INNER JOIN branches ON branches.BranchID=reports.branchID INNER JOIN stores ON branches.StoreID=stores.StoreID
my code outputs missing operator
Can someone please help?