查詢 select3 指令:select 欄位名稱 from 資料表 where 條件1 關係式 條件2 ...; 有多個條件的查詢 關係式: and 關係式左右兩邊的條件都為真 例子(1): select name from class where score >= 60 and score <= 100; 例子(2): select username from user_base where username like '張%' and sex='男'; or 關係式左右兩邊的條件只要有一邊為真 例子(3): select username from user_base where address like '%北市%' or tel like '02 %';