由于昨晚停电了,休息一晚。
今日成果:
select * from customers?
where state = 'va' or points > 1000;
-- or代表 或条件,满足其中一个条件就可以
select * from customers
where state != 'va' and points <= 1000;
select * from customers
where not (state = 'va' or points > 1000);
-- not表示不在指定条件的结果集?
select * from order_items where order_id = 6 and quantity * unit_price > 30;
-- and 表示且条件,需要条件同时满足?