gpt4 book ai didi

MySQL 语法错误(连接表)

转载 作者:行者123 更新时间:2023-11-30 01:11:53 25 4
gpt4 key购买 nike

谁能告诉我这个语法有什么错误???

SELECT crew_no AS Crew_No, concat( last_name, ', ', first_name, ' ', mi ) AS Crew_Name, pos_name AS Position, vesname AS Vessel,
FROM (
(
mastertb
JOIN positiontb ON ( positiontb.pos_code = mastertb.pos_code )
)
JOIN vesseltb ON ( vesseltb.vescode = mastertb.vescode )
)
ORDER BY crew_no
LIMIT 0 , 30

最佳答案

... AS Vessel, FROM ...

FROM 之前不应有逗号。

关于MySQL 语法错误(连接表),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19396557/

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