update email_template_mapping
set template_footer = (select id
from email_template_mapping
where template_description = 'footer'
);
this query giving me error You can't specify target table 'email_template_mapping' for update in FROM clause.
can you please help. Thanks in advance.