How to retrive first 5 records, after that update function to be used for those records(first 5 records) using subquery.
for 1 record update sal+200
for 2 record update sal+220
for 3 record update sal+250
for 4th record update sal+300
for 5th record update sal+400
it is possible execute with use of subqueries???
Please help me in this regard.