单个表的 SELECT 语句 / 创建比较条件 |
图: 查询
SELECT * FROM cust_calls WHERE res_descr LIKE '%!%%' ESCAPE '!';
图: 查询结果
customer_num 116 call_dtime 1997-12-21 11:24 user_id mannyn call_code I call_descr Second complaint from this customer! Received two cases righthanded outfielder glove (1 HRO) instead of one case lefties. res_dtime 1997-12-27 08:19 res_descr Memo to shipping (Ava Brown) to send case of lefthanded gloves, pick up wrong case; memo to billing requesting 5% discount to placate customer due to second offense and lateness of resolution because of holiday.