엑세스2013에서
Product 테이블에서 모든 desk들과 table들 중에서 (여러제품이있습니다)
표준 가격이 $300 이상인 제품들의 product_description,product_finish와 standard_price를 구하고 싶어서
아래와 같이 작성하였는데
SELECT Product_description, product_finish, standard_price
from product_t
where product_description like '*desk' or product_description like '*table'
and standard_price > 300;
table에 대해서만 standard_price가 300이상인 것만 정리되고
desk는 300이하도 같이 정리되네요ㅠ
어떻게 해야하는지 알려주시면 감사하겠습니다!
SELECT Product_description, product_finish, standard_price
from product_t
where (product_description like '*desk' or product_description like '*table')
and standard_price > 300;