I have different schemas in my database and each schema has a minimum of two tables, and each table contains one column name, data. Now I want to delete all the entries from different tables present in the different schemas where data = 'test'.
Below is my database structure
A schema - a table - data column
b table - data column
B schema - c table - data column
d table
How can delete the row and which approach needs to be followed to handle this deletion in a single query or store procedure?