Database DevOps – Where do I start?
By now you have most likely heard the term DevOps and you are most likely working for a company that has implemented DevOps is some manner, that could be...
2020-07-29 (first published: 2020-07-17)
613 reads
By now you have most likely heard the term DevOps and you are most likely working for a company that has implemented DevOps is some manner, that could be...
2020-07-29 (first published: 2020-07-17)
613 reads
One of the concepts in Snowflake that I find many struggle with is how constraints are handled. If you come from a traditional database platform such as Microsoft SQL...
2020-07-21 (first published: 2020-07-08)
668 reads
How many times have you been afraid to hear “No”? We have all been there because we have been trained over the years to perceive “No” as a rejection,...
2020-07-17 (first published: 2020-07-08)
529 reads
We have all done it, get some sort of cryptic error and the first place we go to search is Google hoping the sea of message boards and blog...
2020-03-23 (first published: 2020-03-14)
709 reads
Day 2 was my opportunity to be focused and dive into a few technologies that were really peaking my interest, namely Azure Synapse Analytics and SQL Server 2019. Since...
2019-11-13 (first published: 2019-11-06)
357 reads
What an amazing first day at Microsoft Ignite that all started at about 6:30 this morning when I got in line to be one of the first 3000...
2019-11-05
119 reads
Alex Yates (b | t) is hosting this month’s T-SQL Tuesday (the 119th edition) with asking us to write about something in our IT career that we have changes our minds...
2019-10-15 (first published: 2019-10-09)
784 reads
Back with a new focus First let me say wow can’t believe that it has been almost 3 years since I have blogged. The last few years my career...
2019-06-16
38 reads
The two most costly human capital expenses an organization will have is the onboarding and offboarding of staff. Just take a moment to think about that and if your...
2019-06-26 (first published: 2019-06-12)
435 reads
One of the most challenging aspects of being a good leader is building a team that can support the initiatives you will set forth. Without a team that will...
2019-06-14 (first published: 2019-05-28)
478 reads
By Steve Jones
I’ve become an EV guy. I was talking with a friend who was selling...
In a previous post I talked about how we can use T-SQL Snapshot Backups...
By Steve Jones
A bit of a photo dump, but a few fun memories for me from...
Comments posted to this topic are about the item How to connect your SQL...
Comments posted to this topic are about the item Finding the Black Friday Sales...
Earlier this week I had an issue with a Win 8.1 laptop I was...
We are tracking sales for Black Friday today. We have these aggregate values:
CREATE TABLE dbo.BlackFridaySales
(
Product NVARCHAR(50) NOT NULL PRIMARY KEY,
Units INT NOT NULL
);
INSERT INTO dbo.BlackFridaySales (Product, Units)
VALUES (N'55" TV', 900),
(N'Air Fryer', 500),
(N'Noise-Cancel Headphones', 500),
(N'Robot Vacuum', 300);
I'm trying to get a ranking of the sales that would return 1, 2, 2, 3 for the product levels. Which query does this? See possible answers