è¤æ°ã®åè£ï¼å¤ï¼ã®ãã©ãããå½ã¦ã¯ã¾ãå ´åã«ãã¼ã¿ã表示ãããå ´åã«INæ¼ç®åã 使ç¨ãã¾ãã åè£ï¼å¤ï¼ã®æ°ã«ç¹ã«å¶éã¯ããã¾ãããå¤ãã¨ã«ãã«ã³ããã§åºåãã¾ãã æ§æ SELECT åå FROM ãã¼ãã«å WHERE åå IN(å¤ï¼,å¤ï¼); user表ãããsasukeããåã¯ãziroãã®äººã表示ããä¾ã§ãã mysql> SELECT * FROM user WHERE name IN('sasuke','ziro'); +--------+--------+ | name | pass | +--------+--------+ | sasuke | pass33 | | ziro | pass22 | +--------+--------+ 2 rows in set (0.02 sec) 以ä¸ã®ä¾ã¯ãä¸è¨ã¨çµæã¯åãã§ãããORã使ç¨ããå ´åã®ä¾ã§ãã 2åç¨åº¦ã§ã
{{#tags}}- {{label}}
{{/tags}}