You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| README.md | 2 years ago | |
| solutions_computers.sql | 2 years ago | |
| solutions_televisions.sql | 2 years ago | |
README.md
Title: Computers & Televisions
Type: Lab
Creator: Thom Page
Adapted By: Jerrica Bobadilla
💻 Computers & Televisions 📺
For today's morning lab, you'll be getting practice with the SQL commands you just learned.
NOTE! To create a new postgres database without connecting to psql, in terminal bash just run createdb [databasename] where [databasename] is whatever you want to name your new database.
Activity
- Start by working in the
computers.sqlfile and follow the directions outlined there - Move onto the
televisions.sqlfile and follow the directions outlined there
🔴 How to run .sql files in terminal:
- To run the .sql files, use the command:
psql -f sql_file_name.sql database_name- For example:
psql -f computers.sql sql_lab
- For example:
Hungry for More?
If you finish both files, try out the realty lab!
