Closed gstark closed 5 years ago
Every application uses data in some way. This will help you set up your development environment as well as get used to querying databases.
Use homebrew to install Postgres
brew install postgres brew services start postgresql
[x] Install Postgres
[x] Create a database:
CompanyDatabase
company_database
[x] Create a table:
Employees
[x] Add the following columns to the table, Use your best judgement for data types
[x] Create queries that can do the following:
ParkingSpotNumber
parking_spot_number
[x] Turn in the above queries as a gist
All but the last query from explorer mode.
https://gist.github.com/StPeteFrank/054bbe7a017e39c8464c7e575f0dc602
Your homework was marked: Meets Expectations
“Well done!” — via Gavin Stark
Every application uses data in some way. This will help you set up your development environment as well as get used to querying databases.
Objectives
Requirements
For Mac:
Use homebrew to install Postgres
Windows:
Explorer Mode
[x] Install Postgres
[x] Create a database:
CompanyDatabase
company_database
[x] Create a table:
Employees
[x] Add the following columns to the table, Use your best judgement for data types
[x] Create queries that can do the following:
ParkingSpotNumber
as a string that up to 10 characters longparking_spot_number
as a string that up to 10 characters long[x] Turn in the above queries as a gist
Adventure Mode
Epic Mode
Additional Resources
Recommended Practice: