在这个SQL语句中,WHERE子句中的“seaservice_id”列是不明确的,因为它在多个表中都存在。解决方法是使用表别名来指定要使用的“seaservice_id”列所属的表,例如将“GROUP BY seaservice_id”更改为“GROUP BY b.seaservice_id”。

SELECT MAXTid AS id bid AS seaservice_id Tcreate_time btalent_user_id bcompany_id btitle bpay_amount bpayment_way bcurrency bcompletion_time bsea_service_status bservice_address COALESCEcshort_name_cn

原文地址: http://www.cveoy.top/t/topic/fECu 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录