select * from point_users
where point > 20000;
3. where 절에서 많이 쓰이는 문법
3-1. and(조건 추가)
3-2. =(같음)
3-3. !=(같지 않음)
3-4. between a and b(a ~ b 사이 범위)
3-5. in(포함)
3-6. like 'a%c'(a로 시작하고 c로 끝나는 문자열)
추가 함수
select * from orders
where payment_method = "kakaopay"
limit 5;
select distinct(payment_method) from orders;
select count(*) from orders
SELECT count(distinct(name)) from users;