Question: [sql] [oracle] Consider the following schema: Publisher (name, phone, address), PK: name. Book (ISBN, title, year, published_by, previous_edition), PK: ISBN, FK: published_by refs Publisher, previous_edition
[sql] [oracle]
Consider the following schema:
Publisher (name, phone, address), PK: name.
Book (ISBN, title, year, published_by, previous_edition), PK: ISBN, FK: published_by refs Publisher, previous_edition refs Book.
Author (SSN, first_name, last_name, address, income), PK: SSN.
Write(aSSN, bISBN), PK: (aSSN, bISBN), FK: aSSN refs Author, bISBN refs Book.
Author_Editor(aeSSN, works_for), PK: aeSSN, FK: aeSSN refs Author, works_for refs Publisher.
Give SQL statements for the following plain English language queries based on the above schema using ORACLE syntax
4. Provide the SSN of those authors who have coauthored at least one book with the author named Andy Smith.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
