佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 4076|回复: 2

1064 You have an error in your SQL syntax

[复制链接]
发表于 22-8-2008 01:01 PM | 显示全部楼层 |阅读模式
我的zen-cart 出现
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 ')' at line 6
in:
[select distinct p.products_id, p.products_image,p.products_tax_class_id, pd.products_name, p.products_date_added,p.products_price, p.products_type, p.master_categories_id fromzen_products p, zen_products_description pd where p.products_id =pd.products_id and pd.language_id = '1' and p.products_id in (15, 18,19, 25, 28, 31, 33, 44, 47, 50, 52, 34, 51, 35, 36, 37, 40, 45, 48, 49,38, 39, 41, 42, 43, 46, 17, 14, 16, 20, 21, 22, 23, 24, 26, 27, 29,32,)]

请各位大大帮帮忙,谢谢
回复

使用道具 举报


ADVERTISEMENT

发表于 22-8-2008 09:24 PM | 显示全部楼层
select distinct p.products_id, p.products_image,p.products_tax_class_id, pd.products_name, p.products_date_added,p.products_price, p.products_type, p.master_categories_id fromzen_product <- ????

联在一起???
回复

使用道具 举报

发表于 24-8-2008 08:40 PM | 显示全部楼层
原帖由 lim0508 于 22-8-2008 01:01 PM 发表
[select distinct p.products_id, p.products_image,p.products_tax_class_id, pd.products_name, p.products_date_added,p.products_price, p.products_type, p.master_categories_id fromzen_products p, zen_products_description pd where p.products_id =pd.products_id and pd.language_id = '1' and p.products_id in (15, 18,19, 25, 28, 31, 33, 44, 47, 50, 52, 34, 51, 35, 36, 37, 40, 45, 48, 49,38, 39, 41, 42, 43, 46, 17, 14, 16, 20, 21, 22, 23, 24, 26, 27, 29,32,)]


红色地方多了个“,”逗号
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 23-12-2025 04:11 PM , Processed in 0.112214 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表