(SELECT HREMPUSF.A_FIELD FROM HREMPUSF WHERE HREMPUSF.FIELD_KEY = 78 and HREMPUSF.COMPANY = EMPLOYEE.COMPANY and HREMPUSF.EMPLOYEE = EMPLOYEE.EMPLOYEE)
( SELECT u.A_FIELD FROM HREMPUSF u INNER JOIN EMPLOYEE ec ON u.COMPANY = ec.COMPANY INNER JOIN EMPLOYEE ee ON u.EMPLOYEE= ee.EMPLOYEE WHERE u.FIELD_KEY = 67 )
SELECT "EMPLOYEE".*, (SELECT "LAWSON"."HREMPUSF"."A_FIELD" FROM "LAWSON"."HREMPUSF" WHERE "LAWSON"."HREMPUSF"."FIELD_KEY = 78 and "LAWSON"."HREMPUSF"."COMPANY" = "EMPLOYEE"."COMPANY" and "LAWSON"."HREMPUSF"."EMPLOYEE" = "EMPLOYEE"."EMPLOYEE") A_FIELD FROM "LAWSON"."EMPLOYEE" "EMPLOYEE"
(SELECT HREMPUSF.A_FIELD FROM HREMPUSF WHERE HREMPUSF.FIELD_KEY = '78' and HREMPUSF.COMPANY = EMPLOYEE.COMPANY and HREMPUSF.EMPLOYEE = EMPLOYEE.EMPLOYEE)
SELECT EMPLOYEE.*, (SELECT HREMPUSF.A_FIELD FROM LAWSON.HREMPUSF WHERE HREMPUSF.FIELD_KEY = 78 and HREMPUSF.COMPANY = EMPLOYEE.COMPANY and HREMPUSF.EMPLOYEE = EMPLOYEE.EMPLOYEE) A_FIELD FROM EMPLOYEE