程序代写代做 database In this question you will have the opportunity to create a programmatic interface. This question will also give you experience in deliberating about which type of NoSQL database to use for which kind of project.

In this question you will have the opportunity to create a programmatic interface. This question will also give you experience in deliberating about which type of NoSQL database to use for which kind of project.

This assignment supports the following objectives:
• Create and interact with a Cassandra DB
• Create and interact with a MongoDB database
For this project you will create a database for a virtual library and provide an interface to interact with it through a programming language in the manner that was taught to you in Module 10. It is expected that you will modify and extend the database design you created for Assignment 5 (Cassandra DB) or Assignment 6 (MongoDB). It is entirely your choice as to which of these two databases you have created that you want to use for this project.
The virtual library of Assignment 5 and Assignment 6 has added a new social media feature. Users can now post and view comments about books they have checked out. Your database design must support this feature. This feature is in addition to all the specifications you were given for Assignments 5 and 6. The total specifications are given below.
In this assignment you will create a database for a virtual library. The books from the library can be be “checked out” by Users for a fixed period of time. For this assignment let us assume that books cannot be renewed. A User may check out any number of books at a time. Since the books are eBooks, any number of Users can check out a book at the same time.
• The library contains a collection of eBooks. Basic information about each book needs to be stored
• Title, primary author, secondary authors (if any), date of first publication, number of pages, publisher, translator (if any)
• For non-fiction books, a list of the key topics covered by the book needs to be stored. For works of fiction (including poems, plays, novels, collection of stories), the topic is just ‘fiction’.
• For each book, we also need to store information about when it was checked out by which User.
• For each User we need to store certain information
• User id, name, phone, address, university affiliation (if any)
• For each book and User, we need to store the comments made about the book by the User
Insert at least 3 books, 5 users. The database must contain information about at least 5 check outs of books. Each check out must contain at least 3 comments about the book by the User who has checked out the book.
Write the queries below (Obviously, your database must be designed so that it can support these queries)
• Which books have been checked out since such and such date
• Which users have checked out such and such book
• How many books does the library have on such and such topic
• Which users from Columbia University have checked out books on Machine Learning between this date and that date.
• What comments have been made by any User about such and such book between such and such dates, ordered from the most recent to the least recent.
• Show for a given User, what comments they have made about such and such book.
Using the programing language scripts that were provided to you in the lecture slides for Module 2, write a programming interface through which at the least the first three queries can be posed and the answers printed on a screen.

You must need to submit screen shots of your question in action