This is the repository for our final DB project!
cd ITRW321-Semester_Project/Create_Database/
run 01-create-db.sql
run 02-star_create.sql
run 03-update-populate-stars.sql
- Run
01-create-db.sql
to create the operation database from the previous semester. - Run
02-star_create.sql
to create the star schemes for the DSS. - Run
03-update-populate-stars.sql
to execute the ETL (extract, transform and load) for the DSS system.
New readings can be added at any time form Anchormenstations API.
Just run the .Net Core 3 program:
cd ITRW321-Semester_Project/Output-GetDataFromAPI-GenerateSQL
dotnet GetDataFromAPI-GenerateSQL.dll
Morne
- Initial DB setup.
- Combine group member work for ETL.
- Generate view for Temperature per station.
- Generate view for Temperature per location.
- Generate view for Employee Salary.
Eon
- Populate fact table: FACT_SALARYPAID.
- Populate fact table: FACT_SUBTYPES.
- Generate view for Air Pressure per station.
- Generate view for Air Pressure per location.
- Generate view for Age of Customer per Subscription.
Coenraad
- Populate fact table: FACT_READINGS.
- Generate view for Humidity per station.
- Generate view for Humidity per location.
- Create program to get readings from API and generate insert SQL.
Rainard
- Generate view for Ambient light per station.
- Generate view for Ambient light per location.
- Our google drive folder for the project.
- https://www.techonthenet.com/oracle/subqueries.php
- https://www.essentialsql.com/get-ready-to-learn-sql-server-20-using-subqueries-in-the-select-statement/
- https://www.oracletutorial.com/oracle-basics/oracle-subquery/
- https://www.webucator.com/tutorial/advanced-oracle-sql-queries/using-subqueries.cfm
- http://www.java2s.com/Code/Oracle/PL-SQL/RETURNINGINTOclause.htm
- https://oracle-base.com/articles/misc/dml-returning-into-clause
- https://www.webucator.com/tutorial/oracle-pl-sql/declaring-variables.cfm
- https://docs.oracle.com/cd/B28359_01/server.111/b28286/functions052.htm#SQLRF00639
- https://blogs.oracle.com/oraclemagazine/working-with-dates-in-plsql
- https://www.oracletutorial.com/oracle-date-functions/
- https://www.oracletutorial.com/oracle-date-functions/oracle-extract/
- https://www.gitignore.io/
- http://www.codeblocq.com/2016/01/Untrack-files-already-added-to-git-repository-based-on-gitignore/
- https://www.newtonsoft.com/json/help/html/DeserializeObject.htm
- https://gist.github.com/acamino/51ae7fa45708bc1e8bcda5657374aa48
- http://json2csharp.com/
- https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/file-system/how-to-write-to-a-text-file