sql update - Preferred method of updating and setting SQL -
i'm learning sql @ moment, , have found different methods of updating , setting table.
for example, wondering "most correct way" of doing this?
update student set test1 = 7, test2 = 9 stuid = 999
or
update student set test1 = 7 stuid = 999 update student set test2 = 9 stuid = 999
thanks.
firstly google before posting questions.
the answer (as said others) off-course method 1. not reload database twice.
also if beginner try go learn w3schools
Comments
Post a Comment