2008年9月12日 星期五

T-SQL IN

USE northwind
SELECT *
FROM suppliers
WHERE country in ('japan' ,'italy')

查尋條件中使用值串
以上會找出suppliers表隔中含有japan,italy的欄位