說明:
1. in 後面接的是一個集合,表示column1 存在集合里面。
2. select 出來的資料形態必須符合 column1。
其他查詢
select *
from table_name1
where column1 like ’x%’
說明:like 必須和後面的’x%’ 相呼應表示以 x為開頭的字串。
select *
from table_name1
where column1 in (’xxx’,’yyy’,..)
說明:in 後面接的是一個集合,表示column1 存在集合里面。
select *
from table_name1
where column1 between xx and yy
說明:between 表示 column1 的值介於 xx 和 yy 之間。
。、更改資料:
update table_name
set column1=’xxx’
where conditoins
延伸閱讀
文章來源于領測軟件測試網 http://www.kjueaiud.com/