MySQL ã使ã£ã¦ã¢ã¯ã»ã¹ã«ã¦ã³ã¿ã¼ãä½ã£ã¦ã¿ããã¨æãã¾ãã ãã¼ã㯠1, é«é(ã§ãããéãã«ã¦ã³ã¿ã®æ´æ°ã»åç §ãéããã) 2, é«ä¿¡é ¼æ§ï¼å¤éã¢ã¯ã»ã¹ããã£ã¦ãå£ããªããä¸æ´åãèµ·ãããªãï¼ ã§ãã æç´ã«å®è£ ãã¦ã¿ãã ã¾ãã¯ç´æã§ã¶ã¯ã£ã¨ä½ãã¾ãã ãã¼ãã«ä½æ CREATE TABLE counter ( cnt int unsigned not null ) ENGINE=InnoDB; åç § SELECT cnt FROM counter; æ´æ° UPDATE counter SET cnt = cnt + 1; ã¯ãã解説ã®å¿ è¦ããªãã»ã©ã·ã³ãã«ãªå 容ã ã¨æãã¾ãã ã§ããããã®ã¢ã¯ã»ã¹ã«ã¦ã³ã¿ã¼ã¯é«éã¨ã¯è¨ãã¾ããã ä½æ ãã¨ããã¨ãMySQLã§ã¯æ´æ°ã®éã«å¯¾è±¡ã®è¡ã«ããã¯ããããã®ã§ã ä¾ãã°åæã«100人ã¢ã¯ã»ã¹ããã£ãã¨ãããã100人åæã«ã¢ã¯ã»ã¹ã«ã¦ã³ã¿
{{#tags}}- {{label}}
{{/tags}}