Sql ORA-00904:;纪律”&引用;运动“否”:无效的标识符
请帮助,我的数据库中确实存在表和列Sql ORA-00904:;纪律”&引用;运动“否”:无效的标识符,sql,oracle,Sql,Oracle,请帮助,我的数据库中确实存在表和列 select sport_name from GAMES.sport where sport.sport_no = discipline.SPORT_NO; 试试这个 select sport_name from GAMES.sport where sport.sport_no = discipline.SPORT_NO; SPORT.SPORT\u no是SPORT表的主键 和 规程。SPORT\u NO是规程表中的外
select
sport_name
from
GAMES.sport
where
sport.sport_no = discipline.SPORT_NO;
试试这个
select
sport_name
from
GAMES.sport
where
sport.sport_no = discipline.SPORT_NO;
SPORT.SPORT\u no
是SPORT
表的主键和
规程。SPORT\u NO
是规程
表中的外键
SPORT.SPORT\u no
是SPORT
表的主键和
规程.SPORT\u NO
是规程
表中的外键查询中规程表在哪里?查询中规程表在哪里?请不要在where
子句中使用隐式联接。使用SQL 92引入的“现代”显式JOIN
语法。请不要在where
子句中使用隐式联接。使用SQL 92引入的“现代”显式JOIN
语法。
select
sport_name
from
SPORT
inner join
DISCIPLINE
on SPORT.sport_no = DISCIPLINE.SPORT_NO;