vikas kumar Posted May 3, 2018 Posted May 3, 2018 Can any one tell me how to add(sum) two columns from two different tables but from same database. please send me exact query if you know.. Quote
Administrators Nathan Posted May 3, 2018 Administrators Posted May 3, 2018 Sure for Microsoft SQL Server, assuming since that's how you tagged the topic, it should look something like this: select a.column1 + b.column2 from table1 a inner join table2 b on a.id = b.id Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.