PostgreSQL

PostgreSQL

19 posts
PostgreSQL - DELETE

PostgreSQL - DELETE

Introduction In this tutorial, we want to delete specific rows from a table by using a SQL Statement. In order to do this, we use the DELETE Statement. We have already created the table student with the following data: Example 1 We want to delete all rows where the name...

PostgreSQL - UPDATE

PostgreSQL - UPDATE

Introduction In this tutorial, we want to update the data in a table by using a SQL Statement. In order to do this, we use the UPDATE Statement. We have already created the table student with the following data: Example 1 We want to update the student with the name...

PostgreSQL - TRUNCATE

PostgreSQL - TRUNCATE

Introduction In this tutorial, we want to delete all rows from a table by using a SQL Statement. The table itself should remain. In order to do this, we use the TRUNCATE Statement. We have already created the table student with the following data: SQL Statement Now, let's...

PostgreSQL - INSERT

PostgreSQL - INSERT

Introduction In this tutorial, we want to insert new rows into a table by using a SQL Statement. In order to do this, we use the INSERT Statement. We have already created the table student. As you can see, the table is empty. SQL Statement Now, let's insert...

PostgreSQL - ALTER TABLE

PostgreSQL - ALTER TABLE

Introduction In this tutorial, we want to modify an existing table by using a SQL Statement. In order to do this, we use the ALTER TABLE Statement. We have already created a table called student. The table has the following columns: Example 1 - ADD COLUMN We want to add...

PostgreSQL - CREATE TABLE

PostgreSQL - CREATE TABLE

Introduction In this tutorial, we want to create a table by using a SQL Statement. In order to do this, we use the CREATE TABLE Statement. We have already created a server called DLNerdsServer and a database called dlnerdsacademy. Now, we want to create a table called student. SQL Statement...

PostgreSQL - DROP DATABASE

PostgreSQL - DROP DATABASE

Introduction In this tutorial, we want to delete an existing database by using a SQL Statement. In order to do this, we use the DROP DATABASE Statement. We have already created a server called DLNerdsServer and a database called dlnerdsacademy. Now, we want to delete the database dlnerdsacademy. SQL Statement...

PostgreSQL - CREATE DATABASE

PostgreSQL - CREATE DATABASE

Introduction In this tutorial, we want to create a database by using a SQL Statement. In order to do this, we use the CREATE DATABASE Statement. We have already created a server called DLNerdsServer. The database should be called dlnerdsacademy. SQL Statement We navigate to the default database of the...

You’ve successfully subscribed to Deep Learning Nerds | The ultimate Learning Platform for AI and Data Science
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.