★즐겨찾기
  • 로그인
  • 회원가입
  • 마이페이지
  • 장바구니
  • 주문/배송조회
  • 고객센터
  • NEW5%
  • BEST100
  • 당일배송
  • ♥봄&플라워♥
  • 귀걸이
  • 목걸이
  • 반지
  • 팔찌
  • 헤어
  • 발찌
  • 스카프
  • 키링
  • 기타상품
  • BEST SELLER
  • 폭탄세일

select a.* from shop_goods a left join shop_goods_type b on (a.index_no=b.it_id) where b.mb_id = 'bany' and b.it_type2 = '1' order by a.index_no desc and (a.saccount > a.account and a.account > 0)

1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and (a.saccount > a.account and a.account > 0)' at line 4

error file : /shop/module.php