HF RL Explorer

Task: Remove Attribute from JSON Column in PostgreSQL

Task: Remove Attribute from JSON Column in PostgreSQL: a task in Terminal-Lego-15k (Harbor dataset). Write a SQL script that removes a specific attribute from a JSON column in a PostgreSQL table. You need to remove the attrB key from the data JSON column for all rows in the table, updating the…

The task

Write a SQL script that removes a specific attribute from a JSON column in a PostgreSQL table. You need to remove the `attrB` key from the `data` JSON column for all rows in the table, updating the rows in place.

Part of PrimeIntellect/Terminal-Lego-15k.