https://github.com/allenlili/sql-example
sql-example
https://github.com/allenlili/sql-example
pgsql postgresql sql
Last synced: about 2 months ago
JSON representation
sql-example
- Host: GitHub
- URL: https://github.com/allenlili/sql-example
- Owner: allenlili
- Created: 2018-10-12T05:05:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-12T05:05:51.000Z (over 7 years ago)
- Last Synced: 2025-08-31T23:47:16.256Z (7 months ago)
- Topics: pgsql, postgresql, sql
- Language: PLpgSQL
- Size: 2.31 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SQL Example
This project is to show my sql skills.
The work is from UNSW COMP9311 Database System projects.
* Project1
Provided UNSW MyMyUNSW database, write sql to query data based on spec.
* Project2
Provided UNSW MyMyUNSW database, write store function to query data based on spec.
## Getting Started
### Prerequsites
download [PostgreSQL](https://www.postgresql.org/) or use cloud database
### Running and Tests
install the MyMyUNSW database
```sql
createdb proj1
psql proj1 –f mymyunsw.dump
```
Based on proj1 and proj2, you can grab the proj1.sql and proj2.sql to run with check.sql to compare the results.
## Authors
* **Allen Li**