Expert academic support · 100% original work · 24/7 help 24/7 support: support@treatisely.com
Uncategorized

You have been tasked with creating a database solution for a local library.This database will be used to keep information about the books owned by the library and which books are checked out by customers.

  • Posted
  • AuthoradminX
  • Length311 words
  • Reading time2 min

You have been tasked with creating a database solution for a local library. This database will be used to keep information about the books owned by the library and which books are checked out by customers. You are given the following information:
The database will need to store information about books, authors, and customers.
Books can have multiple authors. Authors can write multiple books. Customers can check out any number of books they wish.
Book information includes title, author, year of release, number of pages, genre, location (in library, checked out).
Author information includes name.
Customer information includes name, age, phone number, join date, books checked out.
Instructions:
With the selected scenario in mind, create an ERD Diagram showing the tables and fields needed. Be sure to identify and keys or constraints. (40 points)
Write a brief prompt discussing the design considerations of your database solution. (40 points)
Write SQL statements that will produce the tables and columns identified in your ERD Diagram. (40 points)
Write SQL statements that will populate at least 5 records in each of your tables. (20 points)
Write SQL statements to perform the following (Assume the records and counts your return should be unique. (Feel free to use more keywords/functions than those listed): Produce a list of fields using SELECT and WHERE statements. (2 points)
Produce a list of fields using SELECT and ORDER BY statements. (2 points)
Produce a list of fields using SELECT and GROUP BY statements. (2 points)
Craft a query that returns a count and a customer/player name (10 points)
Modify values in the age field to increment by 1. (10 points)
Add a column to your database. Remove the column from your database. (2 points)
Delete rows in your database using a WHERE statement. (2 points)
Delete a table. (10 points)
Include SQL statements you used as well as returned results of statements. Submit your final exam as a Word or PDF document.

adminX

Subject expert at Treatisely.

Make your next academic task easier to manage

Tell us what you are working on and take the next step with Treatisely.

Submit your assignment free