私はsqlplusを初めて使用し、いくつかのテーブルを作成するSQLスクリプトを実行しようとしましたが、実行しようとすると、テーブルまたはビューが存在しないというエラーが表示され、このエラーを修正する方法がわかりません。 。私のスクリプトは次のとおりです。
drop table Borrower;
create table Borrower (
bid char(100) not null,
password char(100) not null,
name char(100) null,
address char(100) null,
phone char(100) null,
emailAddress char(100) null,
sinOrStNo char(100) null,
expiryDate date null,
--type ENUM('student','faculty','staff'),
type char(100) not null,
--CONSTRAINT Btype_check CHECK (type IN ('student','faculty','staff')),
FOREIGN KEY (type) references BorrowerType(type),
PRIMARY KEY (bid));
grant select on Borrower to public;