Tweet, Tweet, Tweetilly Deet
In a day and age when information abounds and social networking is the only way to communicate (a bit of...
2010-01-19
533 reads
In a day and age when information abounds and social networking is the only way to communicate (a bit of...
2010-01-19
533 reads
By now you've heard about last week's earthquake in Haiti and have seen the devastating impact that it had on...
2010-01-19
367 reads
I'm not sure if I have been tagged by anyone, but this is such an interesting topic I thought I...
2010-01-19
455 reads
I had a hardware issue this past weekend on one of my database servers where I am running SQL Server...
2010-01-18
1,541 reads
It seems to me that over the last year or so that there has been an explosion in the use...
2010-01-18
648 reads
Buck Woody recently asked a question; how do you design a database. He outlined the process he followed and asked...
2010-01-18
1,917 reads
Take care of the site, behave, and respect each other.
I'm off for a week in St. Martin, a belated honeymoon...
2010-01-18
732 reads
Intel is talking about the upcoming launch of the next generation Intel Xeon processor (Nehalem-EX) being bigger than the Xeon...
2010-01-18
868 reads
Ok, so it’s not until November – but I am leaving on a Jet Plane nonetheless. It will have been four...
2010-01-18
569 reads
Before you dig in this post, take a look at my earlier notes about oPASS and Live Meeting and the...
2010-01-18
762 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 SQL Server Still Wins
Comments posted to this topic are about the item DBCC CHECKDB Limits I
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