Speaking at SQL Server Days 2014
I am absolutely delighted to share the great news that I have been selected as one of the speakers for...
2014-07-04
634 reads
I am absolutely delighted to share the great news that I have been selected as one of the speakers for...
2014-07-04
634 reads
ITPROceed 2014 is now a thing of the past, but is has been an awesome – and free! – event. A very...
2014-06-17
435 reads
A few weeks ago I stumbled up on this book review of Naked Statistics by Nathan Yau. The introduction on...
2014-05-23
895 reads
A few days ago there was an interesting question on the forum:
How can I get None in each cell of...
2014-05-21 (first published: 2014-05-15)
2,382 reads
I’m delighted to announce I will be giving a session at ITPROceed, a new event in Belgium for the IT...
2014-05-14
528 reads
It’s time for another T-SQL Tuesday! This month’s blog party is hosted by Boris Hristov (blog | twitter) and the subject...
2014-05-13
775 reads
I recently came across the following error message when I tried to look at the batches in the Integration Management...
2014-04-18
1,598 reads
I had to do some performance testing for an upcoming MSSQLTips article and I thought I’d share the framework I...
2014-04-16 (first published: 2014-04-08)
3,307 reads
Since I write at different places – this blog, Intense School and MSSQLTips.com - someone recently asked me if I could provide an...
2014-04-15
494 reads
Recently I was designing a simple Power View report on top of a multi-dimensional SSAS cube. Out of the box,...
2014-03-11
998 reads
By Steve Jones
I type fairly well. Well, I type fast, but I do wear out a...
By way of background, a while back I did video called “My New Favourite...
By ReviewMyDB
Index maintenance has always meant nightly jobs and a window you have to defend....
Comments posted to this topic are about the item SQL Art, Part 4: Happy...
Comments posted to this topic are about the item How We Handled a Vendor...
Comments posted to this topic are about the item Cognitive Coverage
I have this data in the dbo.Commission table in a SQL Server 2022 database.
salesperson commission Brian 12 Brian 16 Andy 7 Andy 14 Andy 21 Steve 20 Steve NULLAll the data is a varchar, and I decide to run this query to get the totals for each salesperson.
SELECT SalesPerson
, AVG(TRY_PARSE(Commission AS int)) AS TotalCommission
FROM commission
GROUP BY SalesPerson
GO
What average commission is calculated for Steve? See possible answers