C# Visual Studio tableadapter配置向导无法分析mysql语句

C# Visual Studio tableadapter配置向导无法分析mysql语句,c#,mysql,visual-studio,C#,Mysql,Visual Studio,我有一个MySQL语句,当在MySQL工作台中执行时,它会成功地返回一个结果。有关声明如下: SELECT report.*, client.`Client`, 3rdpartyreport.`Status` FROM report LEFT JOIN client ON report.ClientID = client.ID LEFT JOIN 3rdpartyreport ON (report.`Serial No` = 3rdpartyreport.`Serial No` AND rep

我有一个MySQL语句,当在MySQL工作台中执行时,它会成功地返回一个结果。有关声明如下:

SELECT report.*, client.`Client`, 3rdpartyreport.`Status` FROM report
LEFT JOIN client ON report.ClientID = client.ID 
LEFT JOIN 3rdpartyreport ON (report.`Serial No` = 3rdpartyreport.`Serial No` AND report.`AssignedTo` = 3rdpartyreport.`Received By`) 
WHERE (report.Status <> 'Deleted') 
ORDER BY report.`Serial No` DESC

只要我删除一条左连接线,它就可以正常工作。为什么VisualStudio不允许多个左连接?我做错什么了吗?如果没有,还有别的方法可以达到同样的效果吗?

我想出来了。我需要将3rdpartyreport写为“3rdpartyreport”,因为它以数字开头。Workbench显然不需要这个

Error in join expression. Unable to parse query text.