#1327 - 我的联接查询中未声明的变量:3

时间:2014-10-08 11:00:20

标签: mysql left-join

我正在尝试执行MySQL左连接查询:

SELECT c.courseName, c.duration 
FROM divisions AS d
LEFT JOIN division_courses AS dc
ON d.divisionID = dc.divisionID
LEFT JOIN courses AS c
ON dc.courseID = c.courseID
WHERE d.companyID = 12 limit 0 , 3

但是我收到错误#1327 - 未声明的变量:3

有人可以帮我理解这个小姐吗?

0 个答案:

没有答案