I wanted to create a view from ms. access. So I used the following code
CREATE VIEW Teaches (DayId,DayName,Period,SubName) AS SELECT D.DayId,D.DayName,P.Period,S.SubName FROM Day AS D,Period AS P, Subject AS S,Teaching AS T WHERE T.DayNo=D.DayId AND T.PeriodNo=P.PerId AND T.SubNo=S.SubId ORDER BY D.DayId ASC;
But its saying that there is a problem at the FROM statement. Can anyone tell me why this doesn't work?