ORACLE创建视图提示ora-00923:未找到要求的from关键字 在线等
CREATEVIEWOBSERVATION.VB_USERINFO(ID,USERID,USERNAME,PASSWORD,LOGINSTATUS,ROLENAME,PM...
CREATE VIEW OBSERVATION.VB_USERINFO (ID,USERID,USERNAME,PASSWORD,LOGINSTATUS,ROLENAME,PMANCODE,PMANNAME,USERCICODE,USERCINAME,USERPICODE,USERPINAME,USERPROVINCE,USERNOTE)
AS
SELECT TB_USERS.ID,TB_USERS.USERID,TB_USERS.USERNAME,TB_USERS.PASSWORD,TB_USERS.LOGINSTATUS,TB_USERS.ROLENAME,TB_USERS.PMANCODE,TB_PARTICAPATEMAN.PMNAME,TB_CHARGEINSTITUTION.CICODE,TB_CHARGEINSTITUTION.CINAME,TB_PARTICIPATEINSTITUTION.PICODE,TB_PARTICIPATEINSTITUTION.PINAME,TB_CHARGEINSTITUTION.CIPROVINCE,TB_USERS.USERNOTE)
FROM TB_USERS,TB_PARTICAPATEMAN,TB_PARTICIPATEINSTITUTION,TB_CHARGEINSTITUTION
WHERE TB_USERS.PMANCODE=TB_PARTICAPATEMAN.PMCODE AND TB_PARTICAPATEMAN.PMPICODE=TB_PARTICIPATEINSTITUTION.PICODE AND TB_PARTICIPATEINSTITUTION.PICHARGEINSTCODE=TB_CHARGEINSTITUTION.CICODE
关键字问题已试,没有解决, 展开
AS
SELECT TB_USERS.ID,TB_USERS.USERID,TB_USERS.USERNAME,TB_USERS.PASSWORD,TB_USERS.LOGINSTATUS,TB_USERS.ROLENAME,TB_USERS.PMANCODE,TB_PARTICAPATEMAN.PMNAME,TB_CHARGEINSTITUTION.CICODE,TB_CHARGEINSTITUTION.CINAME,TB_PARTICIPATEINSTITUTION.PICODE,TB_PARTICIPATEINSTITUTION.PINAME,TB_CHARGEINSTITUTION.CIPROVINCE,TB_USERS.USERNOTE)
FROM TB_USERS,TB_PARTICAPATEMAN,TB_PARTICIPATEINSTITUTION,TB_CHARGEINSTITUTION
WHERE TB_USERS.PMANCODE=TB_PARTICAPATEMAN.PMCODE AND TB_PARTICAPATEMAN.PMPICODE=TB_PARTICIPATEINSTITUTION.PICODE AND TB_PARTICIPATEINSTITUTION.PICHARGEINSTCODE=TB_CHARGEINSTITUTION.CICODE
关键字问题已试,没有解决, 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询