Here are the things I have learned, you can use this as a roadmap if you want to learn from basic SQL up to advanced SQL with PostgreeSQL.
We will be working with TablePlus or PgAdmin, and we will also need to have Docker installed on our system. If you have never worked with Docker before, don't worry, it's simple.
-
Create a folder for the course..
-
Download the docker-compose.yml file into the folder.
-
Open the terminal and run:
docker pull postgres:15.3 docker pull dpage/pgadmin4
-
Now navigate from the terminal to the newly created folder and run:
docker compose up -d
-
Close the terminal
-
Open TablePlus and add a new PostgreSQL connection. Fill in the fields with the following information:
Name : learning-sql Host : localhost Port : 5432 User : student Password : 123456 Database : course-db
Then, click on connect.
-
Open a browser tab, in the address bar enter
localhost:8080
. Log in with the following credentials:Email Address : student@google.com Password : 123456
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded
-
- Uploaded