I use
select * 
from 
    service_instances i 
    inner join 
    service_instance_operations op on i.id = op.service_instance_id 
    inner join 
    service_bindings bind on i.id = bind.service_instance_id  
where i.guid = 'daf67426-129b-4010-832c-692bcfe98f62';
Howto delete this record in all 3 tables? There are primary and foreign key constraints.
It doesn't work to replace "select *" with "delete".
DB schema is CCDB from Cloud Foundry cloud_controller_ng.
                        
You may use
WITHconstruction.UPDATE
I see only one way - is to use three queries: