![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hi friends ,,, i want columns from three different tables..here is my query.. select jp.js_id from js_profile jp join {select js.js_id,js.js_email,ep.emp_email from js_login js join emp_login ep on js.js_email=ep.emp_email} as hj on hj.js_id=jp.js_id; the table js_login have js_id , js_email, the table emp_login have emp_email, Now i want js_id for js_email=emp_email. from this result i want compare js_id with js_id in table js_profile,,,, help me,,,my query not working ,,,please help me |
#3
| |||
| |||
|
|
i want columns from three different tables..here is my query.. select jp.js_id from js_profile jp join {select js.js_id,js.js_email,ep.emp_email from js_login js join emp_login ep on js.js_email=ep.emp_email} as hj on hj.js_id=jp.js_id; |
#4
| |||
| |||
|
|
El 07/04/2011 9:19, mada suresh escribi /wrote: * * * * * * * * * * * * i want columns from three different tables..here is my query.. select jp.js_id from js_profile jp join {select js.js_id,js.js_email,ep.emp_email from js_login js join emp_login ep on js.js_email=ep.emp_email} as hj on hj.js_id=jp.js_id; Did you read somewhere that you can use brackets or you are trying to reverse engineer the SQL language? -- --http://alvaro.es- lvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programaci n web:http://borrame.com -- Mi web de humor satinado:http://www.demogracia.com -- |
![]() |
| Thread Tools | |
| Display Modes | |
| |