MySQL语法错误(加入表)

时间:2013-10-16 06:26:36

标签: mysql sql join

任何人都可以告诉我这句话中的错误是什么???

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

1 个答案:

答案 0 :(得分:0)

... AS Vessel, FROM ...

在FROM之前不应该有逗号。