Viewing 2 posts - 1 through 3 (of 3 total)
Hello,
I was recently let go from my job as a DBA and I'm working on setting up a user group presentation. I've already started the process by reaching out to...
April 25, 2026 at 3:18 pm
#4778457
Here is my post for this:
USE TSQLFundamentals2008;
SELECT ord.orderid, ord.custid, ord.shipcity
,SUM(ord.freight) OVER(PARTITION BY ord.shipcity) AS TotalFreight
FROM Sales.Orders AS ord
ORDER BY ord.shipcity;
Spencer Moeller sjmoeller1264@gmail.com
December 5, 2013 at 12:46 pm
#1671299