Notes From The October 15, 2014 oPASS & MagicPASS Meeting (The Souza-Thon!)
Both groups met at a special joint meeting last night at Nova University, part of Operation Souza. Before I go...
2014-10-16
756 reads
Both groups met at a special joint meeting last night at Nova University, part of Operation Souza. Before I go...
2014-10-16
756 reads
The election results were just posted. Congratulations to James Rowland-Jones, Wendy Pastrick, and Grant Fritchey for earning seats on the...
2014-10-15
898 reads
Last week I spent some time after my presentation to Space Coast SQL talking to Kathleen Branch, the chapter leader,...
2014-10-14
864 reads
Not a bad drive over from Orlando. Only a little traffic, about 80 minutes. I was early enough to have...
2014-10-13
908 reads
This Wednesday we’re having a special joint meeting of oPASS and MagicPASS featuring Microsoft GM Mark Souza. For the past...
2014-10-13
842 reads
For the fifth year Steve Jones and I are organizing the Monday Night Networking Dinner at the PASS Summit. It...
2014-10-10 (first published: 2014-10-02)
6,061 reads
Introduction
After finishing up six months of managing the marketing for SQLSaturday Orlando I’ve been going back through all my blog...
2014-10-10
755 reads
Quick note in case I need again some day. The team recently moved all the user databases for a monitoring...
2014-10-09 (first published: 2014-10-02)
5,993 reads
One of my current projects is PASSWatch. Right now it’s mostly aggregation which I think has value, but I hope...
2014-10-08
871 reads
Introduction
One of the items I’ve had on my todo list for a while is to write up notes on the...
2014-10-08
740 reads
How can you achieve good enough without compromising the process/product? In the world of...
By Patrick
One of my customers recently wanted to rename each of the SQL audit files...
The post The pros and cons of self-service BI: What every industry leader should...
Comments posted to this topic are about the item What's New for the Microsoft...
Comments posted to this topic are about the item Using Outer Joins
I have this data in a SQL Server 2019 database:
Customer table CustomerID CustomerName 1 Steve 2 Andy 3 Brian 4 Allen 5 Devin 6 Sally OrderHeader table OrderID CustomerID OrderDate 1 1 2024-02-01 2 1 2024-03-01 3 3 2024-04-01 4 4 2024-05-01 6 4 2024-05-01 7 3 2024-06-07 8 2 2024-04-07I want a list of all customers and their order counts for a period of time, including zero orders. If I run this query, how many rows are returned?
SELECT c.CustomerName, COUNT(oh.OrderID) FROM dbo.Customer AS c LEFT JOIN dbo.OrderHeader AS oh ON oh.CustomerID = c.CustomerID WHERE oh.Orderdate > '2024/04/01' GROUP BY c.CustomerNameSee possible answers