I found out that Oracle does not support LIMIT
clause unlike to MySQL and to update only 1 row in table i've tried this:
UPDATE "Schedule"
SET "Position" = 'Manager'
WHERE "Position" IN
(SELECT "Position"
FROM "Schedule"
WHERE "Position"='Tester'
OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY);
And 3 rows are updated.
When i run this:
SELECT "Position"
FROM "Schedule"
WHERE "Position"='Tester'
OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY;
i get only one row (as it should be).
But updating 1 row doesn't work as i mentioned before. Are there any other methods to update only 1 specific row?