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 '&& GC.cate_index<100000000 GROUP BY GC2.cate_num ORDER BY GC2.cate_ind' at line 7 |
SELECT GC2.cate_num, GC2.cate_name, GC2.cate_index From NT_admin.Goods as ntG left join Goods as G using(goods_num) left join Goods_Category as GC using(cate_num) left join Goods_Category as GC2 on GC2.cate_index=truncate(GC.cate_index,-4) WHERE ntG.brd_num="" && GC.cate_index>= && GC.cate_index<100000000 GROUP BY GC2.cate_num ORDER BY GC2.cate_index ASC |
사진 | 상품정보 | 규격정보 | 판매가격 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1,650 | |||||||||||||||
2,200 | |||||||||||||||
|
1,870 | ||||||||||||||
|
4,400 | ||||||||||||||
3,630 | |||||||||||||||
4,620 | |||||||||||||||
2,640 | |||||||||||||||
2.. more |
14,300 | ||||||||||||||
2,970 | |||||||||||||||
1.. more |
6,160 | ||||||||||||||
7,260 | |||||||||||||||
4,620 |