tags:

views:

7

answers:

0

How do I write this?

Create a script that will retrieve the title of each books, the name of its publisher, and the first and last name of each author of the book.

SQL> Desc BOOKAUTHOR Name Null? Type


ISBN VARCHAR2(10) AUTHORID VARCHAR2(4)

SQL> Desc books Name Null? Type


ISBN NOT NULL VARCHAR2(10) TITLE VARCHAR2(30) PUBDATE DATE PUBID NUMBER(2) COST NUMBER(5,2) RETAIL NUMBER(5,2) CATEGORY VARCHAR2(12)

SQL> desc publisher Name Null? Type


PUBID NOT NULL NUMBER(2) NAME VARCHAR2(23) CONTACT VARCHAR2(15) PHONE VARCHAR2(12)

SQL> desc author Name Null? Type


AUTHORID NOT NULL VARCHAR2(4) LNAME VARCHAR2(10) FNAME VARCHAR2(10)