gpt4 book ai didi

mysql - MySQL的空记录,如何查找?

转载 作者:行者123 更新时间:2023-11-29 18:33:07 26 4
gpt4 key购买 nike

请帮助修复此错误:

SELECT SQL_CACHE p.user_id, p.project_id, p.cid, p.project_title, p.additional_info, p.buynow_price, p.date_added, p.highlite, p.project_details, p.views, p.bids, p.currentprice, p.currencyid, p.buynow, p.filtered_auctiontype, p.buynow_purchases, p.date_starts, p.buynow_qty_lot, p.items_in_lot, UNIX_TIMESTAMP(p.date_end) - UNIX_TIMESTAMP('2017-08-05 18:14:50') AS mytime, UNIX_TIMESTAMP(p.date_starts) - UNIX_TIMESTAMP('2017-08-05 18:14:50') AS starttime, p.donation, p.filter_budget, p.reserve, p.project_state, p.bid_details, p.filter_escrow, p.filter_gateway, p.charityid, p.jobs_price
          FROM xxx_projects AS p
          LEFT JOIN xxx_users u ON(p.user_id = u.user_id)
          WHERE p.visible = '1'
          AND p.status = 'open'
          AND p.project_state = 'product'
          AND u.status = 'active'
          AND p.project_id IN (88414723, 5043541, 98506492, 36121136, 84626697, , 4408122, 49183201, 56318356, 89533629, 16433073, 70069844, 6242686, 8745727, 10816822, 8745727, 27902749, 41807041, 61556755, 46837725, 38855144, 69491982, 27240408, 20425411)
          

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' 4408122, 49183201, 56318356, 89533629, 16433073, 70069844, 6242686, 8745727, 10' at line 8

我认为数据库中有空记录,但我找不到它......

最佳答案

84626697, , 4408122 中有一个双逗号。只需删除一个逗号(即,将其设为 84626697, 4408122),您就可以开始了。

关于mysql - MySQL的空记录,如何查找?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45530845/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com