INST_CODE ADDRESS PHONE EMAIL DPS101 DELHI 011965321 DPSDEL@IN GLA02 NOIDA 12036450 swa@in
ID INST_CODE CITY OPENING POSITION INST_ID 1 DPS101 DELHI 2 SALES 1 2 DPS101 DELHI 5 TECHNICAL 1 3 GLA02 NOIDA 1 SALES 2
INST_CODE ADDRESS PHONE EMAIL TYPE DPS101 DELHI 012063548 DPSDEL@IN SALES DPS101 DELHI 012063548 DPSDEL@IN TECHNICAL GLA02 NOIDA 012365466 swa@in SALES
SELECT t1.Field1, t1.Field2, t2.Field1, t2.Field2 FROM Table1 AS t1 INNER JOIN Table2 AS t2 ON t1.Key = t2.ForeignKey
Select T2.INST_CODE, T1.ADDRESS, T1.PHONE, T1.EMAIL, T2.POSITION From TABLE2 as T2 InnerJoin TABLE1 as T1 ON T2.INST_CODE = T1.INST_CODE
SELECT T1.INST_CODE, T1.ADDRESS, T1.PHONE, T1.EMAIL, T2.POSITION AS [TYPE] FROM table1 T1 WITH(NOLOCK) JOIN table2 T2 WITH(NOLOCK) ON T1.INST_CODE=T2.INST_CODE<
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)