# Delete in Postgres Node

**URL:** <https://community.n8n.io/t/delete-in-postgres-node/11032>\
**Category:** Questions\
**Created:** [January 30, 2022, 7:14pm UTC](https://community.n8n.io/t/delete-in-postgres-node/11032 "2022-01-30T19:14:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin123](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/benjamin123/32/6187_2.png) [@Benjamin123](https://community.n8n.io/u/Benjamin123)\
**Post date:** [January 30, 2022, 7:14pm UTC](https://community.n8n.io/t/delete-in-postgres-node/11032/1 "2022-01-30T19:14:22Z")

</div>

Hello , I am trying out workflow from google sheet to postgres and i realized that n8n postgres node does not have delete option.

May i know if there is anyway to delete unwanted records from postgres database?

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [January 30, 2022, 7:18pm UTC](https://community.n8n.io/t/delete-in-postgres-node/11032/2 "2022-01-30T19:18:09Z")

</div>

You can do that with operation “Execute Query” and then use a query like the following:

```auto
DELETE FROM public.myTabe where id = 1;

```

---

<div class="post-metadata">

**Author:** ![Benjamin123](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/benjamin123/32/6187_2.png) [@Benjamin123](https://community.n8n.io/u/Benjamin123)\
**Post date:** [January 30, 2022, 7:21pm UTC](https://community.n8n.io/t/delete-in-postgres-node/11032/3 "2022-01-30T19:21:23Z")

</div>

oh yah… thank you…

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [January 30, 2022, 7:37pm UTC](https://community.n8n.io/t/delete-in-postgres-node/11032/4 "2022-01-30T19:37:44Z")

</div>

You are welcome, have fun!
