hi
guys
I have to add GROUP_NAME in below query i.e GROUP_NAME should be displayed.
column of GROUPS are as follows:
GROUP_NAME
ID
GROUP_USERS
LEDIT
query are as follows:
"select 0, disp_office_code as office_code,(select office_name from offices where office_code=disp_office_code) as office_name from disp_offices where office_code='" & office98 & "' and disp_office_code in (select office_code from offices where office_level<>'STOP') order by id"
table structure as follows:
1.DISP_OFFICES
ID NUMBER(11,0)
OFFICE_CODE VARCHAR2(20 BYTE)
DISP_OFFICE_CODE VARCHAR2(20 BYTE)
DISP_OFFICE_NAME VARCHAR2(70 BYTE)
2.OFFICES
OFFICE_CODE VARCHAR2(20 BYTE)
OFFICE_NAME VARCHAR2(70 BYTE)
DEPARTMENT_CODE VARCHAR2(20 BYTE)
OFFICE_LEVEL VARCHAR2(50 BYTE)
ID NUMBER(11,0)
LEDIT VARCHAR2(100 BYTE)
above query is displaying correct result.I just want to display GROUP_NAME along with correct result.