Subject | RE: [IBO] Ambiguous field name? |
---|---|
Author | Daniel Rail |
Post date | 2002-11-05T19:38:10Z |
At 05/11/2002 02:59 PM, you wrote:
and (mc.LocationID=2)
and (mi.LocationID=2)
to:
WHERE (mc.LocationID=2) and (mi.LocationID=2)
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)
>I'm confused. My query doesn't have a WHERE clause in it. How can I fixChange the 2 lines:
>this? This is what I'm sending.
>
>*************************************************
>Select mc.MenuCategoryID, mi.MenuItemID, mc.CategoryName, mi.ItemCode,
>mi.ItemName, mi.Price, mi.Sales
> From xMenuCategory mc JOIN xMenuItem mi
>ON (mc.MenuCategoryID = mi.MenuCategoryID)
>and (mc.LocationID = 2)
>and (mi.LocationID = 2)
>ORDER BY mc.CategoryName, mi.ItemCode
>*************************************************
and (mc.LocationID=2)
and (mi.LocationID=2)
to:
WHERE (mc.LocationID=2) and (mi.LocationID=2)
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)