Please help. I have the below SQL code and it keeps getting errors:
create view vwUpcoming
as
Select a.Auction_ID, b.item_name, b.Item_Description,
b.Item_value, a.Expected_Start_time
from Auction_schedule a
join Item b
on Auction.Item_ID= Item.Item_ID
where a.Expected_Start_Time < CURRENT_TIMESTAMP
The error message is:
Msg 4104, Level 16, State 1, Line 2
The multi-part identifier "Item.Item_ID" could not be bound.
Msg 4104, Level 16, State 1, Line 2
The multi-part identifier "Auction.Item_ID" could not be bound.