Hi,
Can anyone help with this error: "ORA-00904: invalid column name"?
Thanks!
SQLcreate view PPFa as
2 SELECT L.UserID AS LecID, U.Name, U.Email, I.IntakeID, S.UserID
AS StudID
3 FROM User_Lecturer L, User_Student S, TBL_Intake I, Users U
4 WHERE L.UserID=S.Init ialSupervisorID And L.UserID=U.User ID And
S.PPFState="PPF Not approved yet
" And S.bIsActive=Tru e And S.txtIntakeID=I .IntakeID And
Dateadd('d',S.P PF_ExtraDays,I. PPF_Lock)<now(
) And I.CompletionDat e>now()
5 GROUP BY L.UserID, U.Name, U.Email, I.IntakeID, S.UserID
6 ;
WHERE L.UserID=S.Init ialSupervisorID And L.UserID=U.User ID And
S.PPFState="PPF Not approved yet" And
ERROR at line 4:
ORA-00904: invalid column name
Thank you and have a nice day!
Can anyone help with this error: "ORA-00904: invalid column name"?
Thanks!
SQLcreate view PPFa as
2 SELECT L.UserID AS LecID, U.Name, U.Email, I.IntakeID, S.UserID
AS StudID
3 FROM User_Lecturer L, User_Student S, TBL_Intake I, Users U
4 WHERE L.UserID=S.Init ialSupervisorID And L.UserID=U.User ID And
S.PPFState="PPF Not approved yet
" And S.bIsActive=Tru e And S.txtIntakeID=I .IntakeID And
Dateadd('d',S.P PF_ExtraDays,I. PPF_Lock)<now(
) And I.CompletionDat e>now()
5 GROUP BY L.UserID, U.Name, U.Email, I.IntakeID, S.UserID
6 ;
WHERE L.UserID=S.Init ialSupervisorID And L.UserID=U.User ID And
S.PPFState="PPF Not approved yet" And
ERROR at line 4:
ORA-00904: invalid column name
Thank you and have a nice day!
Comment