Writing the Correct Query is Important
Making simple mistakes in queries can have far reaching consequences.
2017-01-16
181 reads
Making simple mistakes in queries can have far reaching consequences.
2017-01-16
181 reads
We need better security for our data, especially for our choices in managing data.
2017-01-12
87 reads
2017-01-11
179 reads
Today, Steve Jones looks at the popularity of SQL Server, which was named DBMS of 2017.
2017-01-10
142 reads
SQLServerCentral is getting an upgrade, and Steve Jones has a few words.
2017-01-09
142 reads
It is foolish to insist on reading only up-to-date books on technology. Nothing beats getting the broad perspective.
2017-01-09
92 reads
2017-01-06
96 reads
2017-01-05
88 reads
Numbers are both very useful and also susceptible to all sorts of attacks when their domain is limited. Steve Jones looks at some issues occurring in today's world.
2017-01-04
112 reads
2017-01-03
317 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