Page 297 - Nodejs 교과서 개정2판
P. 297
ࣻ ݺ۸যח UPDATE [테이블명] SET [컬럼명=바꿀 값] WHERE [조건]ੑפ ਤ ݺ۸যۢ WHERE id = 2
۽ idо 2ੋ ۽ OFSP ஸۢਸ ࣻೡ ࣻ णפ VTFST ప࠶ীࢲ idо 2ੋ ۽ commentܳ য ղ
ਊਵ۽ ߄Բۄח ڷੑפ ઑѤب ANDա OR۽ ৈ۞ ѐܳ زदী ࢎਊೡ ࣻ णפ
/PUF ਕ߮ ࢎਊ द
VTFST ప࠶ ߣ ۽ commentܳ ߄Լࠌणפ "QQMZ ߡౡਸ ־ܰݶ 42-ޙ ࢤࢿؾפ
§ Ӓܿ ؘఠ ࣻ ചݶ
"QQMZ ߡౡਸ ־ܰݶ ؘఠо ࣻؾפ
§ Ӓܿ ؘఠ ࣻ 42-
%FMFUF ઁ
%FMFUF ઁ ח ؘఠ߬झী ח ؘఠܳ ઁೞח সੑפ ۽ܳ ઁѢ೧ࠇद
42-ޙਸ ܁ী ੑ۱פ
콘솔
mysql> DELETE FROM nodejs.users WHERE id = 2;
Query OK, 1 row affected (0.00 sec)