0

I am using Databricks. In my notebook, I have a table (Delta table) and I want to delete all rows where the topic is 'CICD' from my table. I want to use SQL to do it.

Alex Ott
  • 80,552
  • 8
  • 87
  • 132
Climbs_lika_Spyder
  • 6,004
  • 3
  • 39
  • 53

1 Answers1

1
DELETE FROM databasename.my_bronze_table WHERE Topic == 'CICD'

After running the above code, it displayed the number of rows affected.

Climbs_lika_Spyder
  • 6,004
  • 3
  • 39
  • 53