Site icon Database Tutorials

Delete With Variable In PostgreSQL

In this article, we will talk about how to perform the delete operation with the help of variables in PostgreSQL.

First, let’s see the data in our veliler table.

We see that Utku ERDEM has two records in the veliler table. Let’s delete this one with the help of a variable.

Our record number 8 has been deleted. Let’s check if it has been deleted by doing select from our table.

Exit mobile version