G
Guest
Hi,
I am trying to do two inner joins to the same table and am getting a syntax error...I would appreciate any help.
Thanks
SELECT FSR.ID, FSR_PEOPLE.FIRST_NAME + " " + FSR_PEOPLE.LAST_NAME AS FUNCTIONAL_ANALYST,
FSR_PEOPLE.FIRST_NAME + " " + FSR_PEOPLE.LAST_NAME AS SUBMITTED_BY
FROM FSR INNER JOIN FSR_PEOPLE ON (FSR_PEOPLE.ID = FSR.FUNCTIONAL_ANALYST_ID)
INNER JOIN FSR_PEOPLE ON (FSR_PEOPLE.ID = FSR.SUBMITTED_BY_ID)
;
I am trying to do two inner joins to the same table and am getting a syntax error...I would appreciate any help.
Thanks
SELECT FSR.ID, FSR_PEOPLE.FIRST_NAME + " " + FSR_PEOPLE.LAST_NAME AS FUNCTIONAL_ANALYST,
FSR_PEOPLE.FIRST_NAME + " " + FSR_PEOPLE.LAST_NAME AS SUBMITTED_BY
FROM FSR INNER JOIN FSR_PEOPLE ON (FSR_PEOPLE.ID = FSR.FUNCTIONAL_ANALYST_ID)
INNER JOIN FSR_PEOPLE ON (FSR_PEOPLE.ID = FSR.SUBMITTED_BY_ID)
;