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
[ ] Install Postgres
[ ] Create a database:
CompanyDatabase
company_database
[ ] Create a table:
Employees
[ ] Add the following columns to the table, Use your best judgement for data types
[ ] Create queries that can do the following:
ParkingSpotNumber
parking_spot_number
[ ] Turn in the above queries as a gist
https://gist.github.com/mrected/82ba1dc35ccc777de43ea1fa7bc6586e
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
[ ] Install Postgres
[ ] Create a database:
CompanyDatabase
company_database
[ ] Create a table:
Employees
[ ] Add the following columns to the table, Use your best judgement for data types
[ ] 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[ ] Turn in the above queries as a gist
Adventure Mode
Epic Mode
Additional Resources
Recommended Practice: