cappe:
Penso ci voglia un altro id che fa da chiave univoca.
Stilgar:
Continuo a mettere carne al fuoco.
Se vuoi utilizzare il nome utente del sistema operativo per sapere chi ha fatto cosa, prova a vedere questa query:
--- Codice: ---
SELECT DISTINCT a. * FROM mon$attachments a JOIN mon$transactions t ON a.mon$attachment_id = t.mon$attachment_id WHERE NOT (t.mon$read_only = 1 AND t.mon$isolation_mode >= 2)
--- Termina codice ---
Forse i campi MON$REMOTE_HOST e MON$OS_USER possono essere interessanti....