To lze provést pomocí dat modifikujících CTE (common table expression):
with updated as (
UPDATE employees
SET name = 'John'
RETURNING *
)
select *
from updated
ORDER BY empname ASC;
To lze provést pomocí dat modifikujících CTE (common table expression):
with updated as (
UPDATE employees
SET name = 'John'
RETURNING *
)
select *
from updated
ORDER BY empname ASC;