Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hassanbahati/database-design-applications-project
https://github.com/hassanbahati/database-design-applications-project
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hassanbahati/database-design-applications-project
- Owner: HassanBahati
- Created: 2022-07-17T13:52:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T08:32:54.000Z (over 2 years ago)
- Last Synced: 2024-10-28T09:14:35.944Z (2 months ago)
- Language: Python
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
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'