답변 1개
채택된 답변
+20 포인트
10년 전
update {$g5['g5_shop_item_table']} set it_price=it_price*1.05 where ca_id='특정카테고리ca_id값'
로그인 후 평가할 수 있습니다
답변에 대한 댓글 2개
�
이야기들
10년 전
감사합니다. 가격을 다시 원상복구하려면(5% 인상)하려면 어떻게 해야 할까요?
�
카츠
10년 전
똑같아요. 이미 5% 인상한 것이니 단지 1.05로 나누면 되죠.
update {$g5['g5_shop_item_table']} set it_price=it_price/1.05 where ca_id='특정카테고리ca_id값'
update {$g5['g5_shop_item_table']} set it_price=it_price/1.05 where ca_id='특정카테고리ca_id값'
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인