SQL How UPDATE command works -


how update command in sql work?
have table 3 columns a,b,c primary key.
values in table (1,2,3),(2,4,5).
suppose want update tuple , set value of column c 4 values of 1.
tuple (1,2,3) deleted , new tuple inserted ?
or values 1,2 kept constant 3 deleted , 4 inserted ?

this should edit table entry not adding new tuple table

update tablename set c='4' a='1' 

Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -