Thinking about this a bit more, I guess a simple way to do that would be to just issue the following SQL:
`UPDATE authority.record_entry SET deleted=TRUE WHERE NOT deleted AND id NOT IN (SELECT DISTINCT authority FROM authority.bib_linking)`
And then refine that SQL based on specific needs.
Thinking about this a bit more, I guess a simple way to do that would be to just issue the following SQL:
`UPDATE authority. record_ entry SET deleted=TRUE WHERE NOT deleted AND id NOT IN (SELECT DISTINCT authority FROM authority. bib_linking) `
And then refine that SQL based on specific needs.