Skip to content

Extract business intelligence using SQL queries for a database in postgreSQL.

Notifications You must be signed in to change notification settings

UChisom/sql-dvd-rental-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ce5d22f · Dec 8, 2023

History

6 Commits
Dec 8, 2023
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022

Repository files navigation

SQL DVD Rental Database Analysis

This projects demonstrates matery of SQL querying techniques to:

  • Generate insights
  • Write complex queries
  • Optimize SQL queries

Description

In this poject, I create a local data base using postgreSQL.

The dataset is business data from a dvd rental store.

Database ERD

The database Entity Relationship Diagram (ERD) is shown below [also in this repo (dvd-rental-erd)]. image

Get Started

To load the database and run locally, follow the steps below for postgres (using pgadmin):

  • Unzip the dvdrental_db.zip file to obtain the dvdrental.tar db file
  • Open pgadmin application on you local machine and create a new database
  • Right click on the new database and select restore
  • Select the format under the General tab to custom or tar
  • Select the filename bar and navigate to the file path where the unzipped dvdrental.tar is stored and select it
  • Click restore and let it load

More resources

To load the database using psql commands instead, follow this guide.

About

Extract business intelligence using SQL queries for a database in postgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published