I have a table like shown below
| Id | Name |
| 1 | Aarti |
| 2 | Kriti |
| 3 | Priya |
if Kriti (2) got deleted then all her reputation earned is given to Priya (3) and all the rows below are promoted that is the table now becomes like
| Id | Name |
| 1 | Aarti |
| 2 | Priya |
| 3 | Rashmi |
| 4 | Nancy |
How to achieve the same in SQL server?
Sachin SinghPosted Oct 17, 2020, 11:51 PM
Sachin SinghPosted Oct 18, 2020, 12:29 PM
Varun SetiaPosted Oct 18, 2020, 12:27 PM
Varun SetiaPosted Oct 18, 2020, 12:26 PM
Aarti GuptaPosted Oct 18, 2020, 12:18 PM
Varun SetiaPosted Oct 18, 2020, 12:05 PM