Question: Use SQL Developer to get the results for the following queries. This needs to be done in SQL. Please post the code for each question
Use SQL Developer to get the results for the following queries. This needs to be done in SQL. Please post the code for each question number.
- Display all the data (rows and columns) contained in the books table.
- Display only the first and last names of the authors in the author table.
- List all the categories of the books in the books table, but list each category only once.
- List the customer number, first name, and last name of the customers.
- List the last names and first names of the authors in the author table separated by a comma and a blank space, e.g. JONES, SARAH. Use a column alias "Author Name" for the results.


Tables Relational Tables > ACCTMANAGER > ACCTMANAGER2 V AUTHOR AUTHORID LNAME FNAME > Constraints > Indexes > BOOKAUTHOR V BOOKS ISBN TITLE PUBDATE PUBID COST RETAIL DISCOUNT CATEGORY Constraints BOOKS_ISBN_PK BOOKS_PUBID_FK V Indexes BOOKS_ISBN_PK v CUSTOMERS CUSTOMER# LASTNAME FIRSTNAME ADDRESS CITY STATE ZIP REFERRED REGION v Constraints CUSTOMERS_CUSTOMER... CUSTOMERS_REGION_CK SYS_C00253181 SYS_C00253182 v Indexes CUSTOMERS_CUSTOMER
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
