Logistics For All Day Meetings
Quick thoughts about the work required to make all day meetings run smoothly:
Suitable space with enough seating (and reasonable chairs!)Turn...
2014-05-07 (first published: 2014-05-01)
1,373 reads
Quick thoughts about the work required to make all day meetings run smoothly:
Suitable space with enough seating (and reasonable chairs!)Turn...
2014-05-07 (first published: 2014-05-01)
1,373 reads
My latest question Datatypes In Your Mind is live today and it’s generated quite the discussion. I wrote here about...
2014-05-06
464 reads
2014-05-06
2,148 reads
When building a system, you need to make choices. However, do you always need to make the choice of only two of the three "good, fast, or cheap" choices? Andy Warren has a few thoughts.
2014-05-05
191 reads
Better, Faster, and Cheaper was published today and I hope you’ll read it, and then challenge your own assumptions for...
2014-05-05
621 reads
Blogging isn’t easy. You have to come up with a topic, write about it, and then release it for the...
2014-05-02 (first published: 2014-04-22)
1,489 reads
More notes, many from a chat with Kendal.
We wish we could see the open rate on email and an...
2014-05-02
318 reads
Seminars (aka “pre-cons”) have been part of the DNA of SQLSaturday going back to #1. For those that weren’t there...
2014-05-02
480 reads
I spent some more time last night thinking about the event and marketing it. Biased I am, but I think...
2014-05-01
627 reads
I tend to be amused when I run into something that causes me stress because I like to think – foolishly...
2014-04-30
1,424 reads
By Chris Yates
I’m thrilled to be covering the Microsoft Keynote: Fuel AI Innovation with Azure Databases on Day...
By James Serra
Many customers ask me about the advantages of moving from Azure Synapse Analytics to...
By Brian Kelley
The last data centric conference I attended was the PASS Summit in 2019. A...
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