Daily Coping 15 Sep 2021
I started to add a daily coping tip to the SQLServerCentral newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m...
2021-09-15
37 reads
I started to add a daily coping tip to the SQLServerCentral newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m...
2021-09-15
37 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers. One of the rarely used commands for me...
2021-09-15 (first published: 2021-08-30)
664 reads
As long-time readers of this blog know, I’m a big fan of temporal tables, also known as system-versioned temporal tables. Until recently, temporal tables were synonymous with system-versioned tables,...
2021-09-15
278 reads
Over the next few weeks I have again some online training and speaking engagements that I want to share with you today: On September 29, I’m speaking at the...
2021-09-15
5 reads
Over the next few weeks I have again some online training and speaking engagements that I want to share with you today: On September 29, I’m speaking at the...
2021-09-15
6 reads
Over the next few weeks I have again some online training and speaking engagements that I want to share with you today: On September 29, I’m speaking at the...
2021-09-15
5 reads
Over the next few weeks I have again some online training and speaking engagements that I want to share with you today: On September 29, I’m speaking at the...
2021-09-15
6 reads
Over the next few weeks I have again some online training and speaking engagements that I want to share with you today: On September 29, I’m speaking at the...
2021-09-15
3 reads
Over the next few weeks I have again some online training and speaking engagements that I want to share with you today: On September 29, I’m speaking at the...
2021-09-15
5 reads
Over the next few weeks I have again some online training and speaking engagements that I want to share with you today: On September 29, I’m speaking at the...
2021-09-15
5 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...
WA:08218154393 Jl. Jenderal Ahmad Yani No.1, Benua Melayu Darat, Kec. Pontianak Sel., Kota Pontianak,...
WA:08218154393 Jl. Jenderal Sudirman No.139, Klandasan Ilir, Kec. Balikpapan Kota, Kota Balikpapan, Kalimantan Timur...
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