i need a query to count column values from multiple tables and sum up...
i got username column in three tables.. i need to count the values and sum...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Anupam SinghPosted May 26, 2014, 2:08 AM
You can use sql join operator for this. I have used just inner join you can use as per you need.
with group by you can simply use any Aggregate function(e.g SUM,MIN,MAX..) in sql .
try
hop will help.
Yadlapalli SrikanthPosted May 26, 2014, 12:43 AM
Inner JOIN table2
ON table1.UserId=table2.UserId
GROUP BY UserId;
If this post helps you mark it as answer Thanks
Abhay ShankerPosted May 26, 2014, 12:17 AM
Jignesh TrivediPosted May 25, 2014, 11:55 PM
I cannot get your question.
Can you provide more information with good end to end example.