# Darshan Hiranandani : What SQL command should I use to delete a row from a database?

**URL:** https://community.baserow.io/t/darshan-hiranandani-what-sql-command-should-i-use-to-delete-a-row-from-a-database/9002
**Category:** Integrations
**Created:** [December 30, 2024, 7:28am UTC](https://community.baserow.io/t/darshan-hiranandani-what-sql-command-should-i-use-to-delete-a-row-from-a-database/9002 "2024-12-30T07:28:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![darshanhiranandani23](https://community.baserow.io/user_avatar/community.baserow.io/darshanhiranandani23/32/3129_2.png) [@darshanhiranandani23](https://community.baserow.io/u/darshanhiranandani23)
#### Post date: [December 30, 2024, 7:28am UTC](https://community.baserow.io/t/darshan-hiranandani-what-sql-command-should-i-use-to-delete-a-row-from-a-database/9002/1 "2024-12-30T07:28:31Z")

</div>

Hello everyone,

I’m **Darshan Hiranandani** , trying to delete a row from a database but I’m not entirely sure of the correct approach. Could anyone provide suggestions on how to properly delete a specific row?

I’d appreciate any guidance, such as the SQL query to use or any other methods depending on the type of database.

Thanks in advance for your help!  
Regards  
**Darshan Hiranandani**

---

<div class="post-metadata">

### Author: ![picklepete](https://community.baserow.io/user_avatar/community.baserow.io/picklepete/32/5332_2.png) [@picklepete](https://community.baserow.io/u/picklepete)
#### Post date: [December 30, 2024, 7:49am UTC](https://community.baserow.io/t/darshan-hiranandani-what-sql-command-should-i-use-to-delete-a-row-from-a-database/9002/2 "2024-12-30T07:49:33Z")

</div>

Good morning @darshanhiranandani23,

It’s possible to delete a table row using SQL, as under the hood a Baserow table is simply a Postgresql table, but I recommend you don’t as there can be unintended side effects.

I suggest two different, non-SQL-based, paths you can take to delete your row:

1. Using the UI, by right-clicking on a row and clicking “Delete row”, or
2. Programmatically with [using the API](https://api.baserow.io/api/redoc/#tag/Database-table-rows/operation/delete_database_table_row).

I hope this helps.

Cheers,  
Peter Evans
