https://github.com/lmsharma/analytics-superstore-sql
A SQL repo for understanding analytics from basics to advanced with the help of Super Store datasets. It contains SQL dump of Super Store Dataset provided by Tableau and various questions.
https://github.com/lmsharma/analytics-superstore-sql
postgresql sql sqlquestions superstore-data-analysis
Last synced: 9 months ago
JSON representation
A SQL repo for understanding analytics from basics to advanced with the help of Super Store datasets. It contains SQL dump of Super Store Dataset provided by Tableau and various questions.
- Host: GitHub
- URL: https://github.com/lmsharma/analytics-superstore-sql
- Owner: LMSharma
- Created: 2020-05-23T08:56:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-27T13:52:38.000Z (over 3 years ago)
- Last Synced: 2024-04-20T12:07:37.719Z (almost 2 years ago)
- Topics: postgresql, sql, sqlquestions, superstore-data-analysis
- Homepage: https://github.com/LMSharma/Analytics-SuperStore-SQL
- Size: 517 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## SQL for Data Analysis
[superstoreDump.sql](https://github.com/LMSharma/Analytics-SQL/blob/master/superstoreDump.sql) containes data in the normalized form.
Original Data Set : [Superstore Dataset on Tableau](https://community.tableau.com/s/question/0D54T00000CWeX8SAL/sample-superstore-sales-excelxls?language=en_US)
I have to remove some of the rows in order to mantain ACID properties. Dump was taken using [PostgreSQL](https://www.postgresql.org) .
Mentioned questions are based on analytical purpose from Basics to Advanced level.
## PostgreSQL Installation
For Postgres Setup follow the links:
* [Ubuntu](https://www.howtoforge.com/how-to-install-postgresql-and-pgadmin4-on-ubuntu-1804-lts/)
* [Windows](https://www.postgresql.org/download/windows/)
## Usage
How to restore .sql dump [Restore dump file](https://o7planning.org/en/11913/backup-and-restore-postgres-database-with-pgadmin)
You can use .sql instead of .backup file as shown in the link.
### DB_Schema

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.