我正在尝试执行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
有人可以帮我理解这个小姐吗?