| I think a union is only a good solution when the data from both queries can be combined into one column. I think a simple join between the two table should solve your problem. does this not work? <select id ="getEmpDetails" parameterClass = "com.abc.Input" resultClass = "com.abc.Output"> select A.emp_name as eName, A.emp_sal as eSal, B.dept_no as eDeptNo from emp A, dept B where A.emp_id = #emp_id# and A.loc_code=#loc_code# and A.emp_id = B.emp_id </select> Nathan On Aug 3, 2005, at 3:28 PM, Larry Meadors wrote: Not that I am aware of....why not just use a union? |
- Re: Multiple select queries in one select tag Nathan Maves
- Re: Multiple select queries in one select tag Eugeny N Dzhurinsky
- Ibatis and Spring Framework Abdullah Kauchali
- Re: Ibatis and Spring Framework rich oates
- RE: Ibatis and Spring Framework John Hurst
- Re: Multiple select queries in one select tag Eugeny N Dzhurinsky
- Re: Multiple select queries in one select tag Nathan Maves
