Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

How do I Loop through a table and update a field in SQL

Language: Layout:
View schema
Execution time: 0 sec, rows selected: 6, rows affected: 12, absolute service time: 0,17 sec 
latest |  history
   RowId AccountId OrderId
1 1 A 1
2 2 A 2
3 4 A 3
4 5 B 1
5 6 B 2
6 7 C 1

    
                
λ
.NET NoSQL database for rapid development