Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Query using group by clause

Author  Topic 

Jamuna
Starting Member

7 Posts

Posted - 2011-08-10 : 05:12:39
I created a View contains more than one tables,i want to display records from different tables along with an amount value(by multiplying two column values ) for each row based on user wise,
Using group by am calculating the amount but i cant able to take the other column values (from all tables)
since i need more than one column value in the same query,it is asking to group each column what i am displaying,
can any one help?

jamuna

Sachin.Nand

2937 Posts

Posted - 2011-08-10 : 05:17:21
Can you please post some sample data and expected output ?

PBUH

Go to Top of Page

Jamuna
Starting Member

7 Posts

Posted - 2011-08-10 : 05:45:09
I found the answer,thanks for the response.

jamuna
Go to Top of Page
   

- Advertisement -