답변 2개
답변에 대한 댓글 2개
위처럼 쓰면 2000만 되자나요 그러니까
UPDATE `g5_member` SET `mb_2` = '2' WHERE `chl_member`.`mb_no` < 2000;
하면 2000아래는 다되는 거죠
댓글을 작성하려면 로그인이 필요합니다.
https://eagleowm2020.cafe24.com/phpMyAdmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/update.html" target="mysql_doc">UPDATE `chl_member` https://eagleowm2020.cafe24.com/phpMyAdmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/set.html" target="mysql_doc">SET `mb_2` = '0' WHERE `chl_member`.`mb_no` = 하고싶은 번호;
https://eagleowm2020.cafe24.com/phpMyAdmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/update.html" target="mysql_doc">UPDATE `chl_member` https://eagleowm2020.cafe24.com/phpMyAdmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/set.html" target="mysql_doc">SET `mb_2` = '0' WHERE `chl_member`.`mb_no` >나보다 아래 다해;
https://eagleowm2020.cafe24.com/phpMyAdmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/update.html" target="mysql_doc">UPDATE `chl_member` https://eagleowm2020.cafe24.com/phpMyAdmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/set.html" target="mysql_doc">SET `mb_2` = '0' WHERE `chl_member`.`mb_no` <나보다 위 다해;
답변에 대한 댓글 2개
UPDATE `chl_member` SET `mb_2` = '0' WHERE mb_id='admin' 전체 회원에서 admin 빼고...
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인