gpt4 book ai didi

MYSQL 代码错误,stamps.com 的 ODBC 连接器

转载 作者:行者123 更新时间:2023-11-29 17:00:41 25 4
gpt4 key购买 nike

我正在尝试更新此脚本以在 stamps.com 服务器上使用。

ssx_customers.name 值来自另一个表。

SELECT
contacts_cstm.num9c as OrderId,
contacts_cstm.order_compleate_c as OrderDate,
contacts_cstm.num9c as RecipientFirstName,
contacts_cstm.ship_address_c as RecipientLastName,
contacts_cstm.bisname_c as RecipientCompany,
contacts_cstm.ship_address_city_c as RecipientAddress1,
ssx_customers.name as RecipientAddress2,


FROM contacts_cstm

LEFT OUTER JOIN ssx_customers
ON contacts_cstm.ssx_customers_id_c = ssx_customers.id


WHERE contacts_cstm.order_compleate_c BETWEEN #09/09/2018# AND #09/12/2018#

我怎样才能完成这个任务?

最佳答案

正如评论中提到的,最后一个选择不应有逗号:

SELECT
contacts_cstm.num9c as OrderId,
contacts_cstm.order_compleate_c as OrderDate,
contacts_cstm.num9c as RecipientFirstName,
contacts_cstm.ship_address_c as RecipientLastName,
contacts_cstm.bisname_c as RecipientCompany,
contacts_cstm.ship_address_city_c as RecipientAddress1,
ssx_customers.name as RecipientAddress2 -- ',' was here


FROM contacts_cstm

LEFT OUTER JOIN ssx_customers
ON contacts_cstm.ssx_customers_id_c = ssx_customers.id


WHERE contacts_cstm.order_compleate_c BETWEEN #09/09/2018# AND #09/12/2018#

关于MYSQL 代码错误,stamps.com 的 ODBC 连接器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52283683/

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