연습문제 1-7
SELECT
id as prodcut_id,
category as prodcut_category,
name as prodcut_name,
retail_price as prodcut_price,
cost as prodcut_cost,
retail_price-cost as prodcut_profit
FROM `thelook_ecommerce.products`
select
id,
name
from `thelook_ecommerce.products` as a;
데이터 개수 제한 하기
select
id,
name
from `thelook_ecommerce.products` as a
limit 3; # 3개만 불러와짐
SELECT distinct category
from `thelook_ecommerce.products`
select distinct country, city
from `thelook_ecommerce.users`