sqlplus를 사용해서, 마당서점의 데이터베이스를 간단하게 만들어 봅시다. 우선 마당서점의 데이터를 저장할 테이블 들을 추가해줍니다. < book table > 1 2 3 4 5 6 create table book( bookid number(2) primary key, bookname varchar2(40), publisher varchar2(40), price number(8) ); cs < customer table > 1 2 3 4 5 6 create table customer( custid number(2) primary key, name varchar2(40), address varchar2(50), phone varchar2(20) ); cs < orders table > 1 2 3 4 5 6 7 create table orders( orderid number(2) primary key, custid number(2) references customer(custid), ...
#
oracle
#
sqlpuls
#
마당서점