Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hassanbahati/database-design-applications-project


https://github.com/hassanbahati/database-design-applications-project

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

        

This is a database of books library.

The database contains information about books, their authors, the collections , sales among others.

A csv file(books.csv) contains the names of the authors, their nationality, book titles, book collection, rating of the books, among others.

The enhanced relational diagram of the database shows the relationship between the different entities.

The relational database is comprised of 7 tales.

various table joins can be formulated from tables that contains ids that are intersections between other tables thereby being a joining factor.

The tables include;
authors table.
stars table
collections table
rating table
sales table

SELECT name FROM books JOIN stars JOIN authors ON stars.book_id=books.id AND stars.author_id=authors.id WHERE books.title LIKE "%Data Scientists at Work%";
SELECT name FROM books JOIN stars JOIN authors ON stars.book_id=books.id AND stars.author_id=authors.id WHERE books.title LIKE "%Data Scientists at Work%" AND authors.name = 'Hawking, Stephen'