WHEREæ¡ä»¶ãã¤ãã¾ãã UPDATE user SET age = 35 WHERE id = 1 AND name = 'Songmu' AND age = 34 idã ãã§çµãããã© name ãä»ãã¦ã¬ãã¥ã¯ã¼ãã¬ã³ããªã¼ å¤æ´åã®å¤ãæ¡ä»¶ã«å«ãã 34 -> 35ã«ãªããã¨ãããã ééãã¦ããæãæ»ãã ã¦ã¼ã¶ã¼æä½ã¨ã®ã³ã³ããªã¯ããæ¤ç¥ ä¸ãä¸å±¥æ´ãã誤çãã¦ãæ´æ°ãããªã(å¯è½æ§ãé«ã) SETã¨WHEREãä¸è¡ã«ã¾ã¨ãã¦ãã®ã¯å¤ãªã¨ããã§å°æãæ»ãã®ãæããã WHEREæ¡ä»¶å¿ç¨ç·¨ UPDATE user SET weapon_id = (SELECT id FROM weapon WHERE id = 100 AND name = 'ææ£') WHERE id = 1 AND name = 'Songmu' AND weapon_id = (SELECT id FRO
{{#tags}}- {{label}}
{{/tags}}