謝晒的PHP網頁設計
聯絡E-mail:
sean0704@gmail.com
站內搜尋
Wednesday, February 13, 2013
[MYSQL] 指定比對數個項目 "IN"
判斷欄位值是否等於指定的數個項目其中之一
SELECT * FROM mytable WHERE name IN ('Bill','Candy','Ellen')
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment