ora 00942错误:表或视图不存在
问题描述:
Select lname, fname, title as "Book Title"
from books join line
on books.bookid = book_author.bookid
join author
on author.authorid = book_author.authorid;
它一直说表或视图不存在,但当我从书籍中选择*时;它确实让我看到了桌子。ora 00942错误:表或视图不存在
答
Select author.lname, author.fname, books.title as "Book Title"
from books join book_author --line
on books.bookid = book_author.bookid
join author
on author.authorid = book_author.authorid;
line
已被评论。应改为book_author
。还包括select
子句中的列名之前的表名
+0
它的工作。非常感谢! :) – arooba
因此,它不是“行”,“作者”或“book_author”不存在。 –
添加“join book_author” – BNK
明白了。但现在它说:无效的表名,但它不是 – arooba