Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SQL sub query

$
0
0

Hello Guys

I need some assistance with sub queries and calculated values.

The data set i have is as such   (user  ---- webSite   ---- duration)

I would like to get a report that spits out the user and webSite, plus the summed duration.

I realize that i must run a query on user and website being UNIQUE, to weed out all the duplicate entries with differing durations. The part that is confusing to me is how to sum up the duration field, so that it pertains to the now unique entry of user/website as the primary key so to speak.

no syntax needed, just need help with wrapping my head around the proccess.

thanks for your help


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>