Admitting When You're Wrong
As a father of two head-strong boys (inherited trait), I struggle with getting them to admit they are wrong when they...
2010-01-15
1,021 reads
As a father of two head-strong boys (inherited trait), I struggle with getting them to admit they are wrong when they...
2010-01-15
1,021 reads
Since quite a few PASS 2009 speakers have gone public with their speaker evaluation scores, I might as well do...
2010-01-15
774 reads
This will be a very short entry. I just wanted to share a few things I learned very quickly while...
2010-01-15
878 reads
I read a lot and like to think my interests are wide, but I fall into ruts all the same....
2010-01-15
530 reads
I was recently reading a blog posting on BIDN, Scripting Indexes with Filters and schemas.In the posting the author explained...
2010-01-15
1,457 reads
If you weren't able to attend tuesday for SQL Lunch you can watch the recording now mosted on the website. ...
2010-01-15
590 reads
If you weren't able to attend tuesday for SQL Lunch you can watch the recording now mosted on the website. ...
2010-01-15
603 reads
Recently, I was asked to do an extensive sql server performance audit and review. I will be sharing some of...
2010-01-15
9,713 reads
My boss gave me an assignment, asking for 200 words on the history of SQLServerCentral. This is what I came...
2010-01-15
1,465 reads
I used to think that too much data was never a bad thing. That having more information out there is...
2010-01-15
928 reads
By ReviewMyDB
Index maintenance has always meant nightly jobs and a window you have to defend....
I’m sure you’ve all heard the tale of Goldilocks and the Three Bears, but...
By Steve Jones
One of the things I’ve been requesting for a number of years is cost...
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