I want to run this query that is to update the table row by setting score as 1 ,where the transactionid is maximum
UPDATE transaction_db SET score=1 WHERE transaction_id = ( SELECT MAX(transaction_id) FROM transaction_db );
ERROR:Table 'transaction_db' is specified twice, both as a target for 'UPDATE' and as a separate source for data