查询适用于phpmyadmin但不适用于PHP Zend框架

时间:2016-08-10 01:53:14

标签: php mysql zend-framework phpmyadmin

什么似乎是问题,我希望有人可以指出这一点,非常感谢

以下是查询:

SELECT employees . * , 
       departments.departmentid, 
       departments.namealias, 
       positions.reporttopositionid, 
       centres.name, 
       positions.pos_en, 
       jobs.titleid, 
       jobs.compensationlevelid 
FROM employees 
INNER JOIN hcmpositionworkerassignment wa 
       ON employees.worker_recid = wa.worker 
INNER JOIN positions ON wa.position = positions.recid 
INNER JOIN departments ON positions.department = departments.recid 
INNER JOIN centres ON positions.ilacenterid = centres.siteid 
INNER JOIN jobs ON positions.job = jobs.recid 
WHERE employees.ilacenterid = 'TC-HN1'

0 个答案:

没有答案