Does anyone know how can I translate the below code from access into SQL?
SELECT dboEmp.FULL_NM, dboEmp.ID, dboEmp.WORK_LOC_NM, dboEmp.SUPPORT_LOC_NM, CDate(Int(([dbo_JLJOURN]![Local_DT]/60/60-5)/24+DateValue("1/1/1990"))) AS Expr1, dboEmp.PERIOD, dboEmp.TYPE_CD, dbo_Door_Group_Location.LOC_BLD_CD
FROM (dbo_JLJOURN INNER JOIN ((dbo_Group_Member INNER JOIN dbo_Groups ON dbo_Group_Member.Group_ID = dbo_Groups.Group_ID) INNER JOIN dbo_Door_Group_Location ON dbo_Groups.Group_Name = dbo_Door_Group_Location.MONITORING_GRP_DESC) ON dbo_JLJOURN.Int_Data1 = dbo_Group_Member.Object_ID) LEFT JOIN dboEmp ON dbo_JLJOURN.User_PID = dboEmp.PERSON_ID
GROUP BY dboEmp.FULL_NM, dboEmp.ID, dboEmp.WORK_LOC_NM, dboEmp.SUPPORT_LOC_NM, CDate(Int(([dbo_JLJOURN]![Local_DT]/60/60-5)/24+DateValue("1/1/1990"))), dboEmp.PERIOD, dboEmp.TYPE_CD, dbo_Door_Group_Location.LOC_BLD_CD
HAVING (((CDate(Int(([dbo_JLJOURN]![Local_DT]/60/60-5)/24+DateValue("1/1/1990"))))>#1/31/2015#) AND ((dboEmp.PERIOD)=#7/31/2015#));
SELECT dboEmp.FULL_NM, dboEmp.ID, dboEmp.WORK_LOC_NM, dboEmp.SUPPORT_LOC_NM, CDate(Int(([dbo_JLJOURN]![Local_DT]/60/60-5)/24+DateValue("1/1/1990"))) AS Expr1, dboEmp.PERIOD, dboEmp.TYPE_CD, dbo_Door_Group_Location.LOC_BLD_CD
FROM (dbo_JLJOURN INNER JOIN ((dbo_Group_Member INNER JOIN dbo_Groups ON dbo_Group_Member.Group_ID = dbo_Groups.Group_ID) INNER JOIN dbo_Door_Group_Location ON dbo_Groups.Group_Name = dbo_Door_Group_Location.MONITORING_GRP_DESC) ON dbo_JLJOURN.Int_Data1 = dbo_Group_Member.Object_ID) LEFT JOIN dboEmp ON dbo_JLJOURN.User_PID = dboEmp.PERSON_ID
GROUP BY dboEmp.FULL_NM, dboEmp.ID, dboEmp.WORK_LOC_NM, dboEmp.SUPPORT_LOC_NM, CDate(Int(([dbo_JLJOURN]![Local_DT]/60/60-5)/24+DateValue("1/1/1990"))), dboEmp.PERIOD, dboEmp.TYPE_CD, dbo_Door_Group_Location.LOC_BLD_CD
HAVING (((CDate(Int(([dbo_JLJOURN]![Local_DT]/60/60-5)/24+DateValue("1/1/1990"))))>#1/31/2015#) AND ((dboEmp.PERIOD)=#7/31/2015#));