Congrats to MSSQLTips on 10 Years!
MSSQLTips has posted about their 10 years as a resource to the SQL Server community. It’s where I do the...
2016-06-06
567 reads
MSSQLTips has posted about their 10 years as a resource to the SQL Server community. It’s where I do the...
2016-06-06
567 reads
Why do stored procedures help with security? In this piece, MVP Brian Kelley explains why SQL Injection and information gathering are hampered with stored procedures.
2015-06-12 (first published: 2013-02-18)
21,084 reads
An Important Rule:
If you’re trying to convince someone to your viewpoint, insulting them generally doesn’t work. If it does anything,...
2015-04-30 (first published: 2015-04-17)
5,149 reads
I’m a big fan of automation. I’ve been in IT for 27 years now. One unchanging rule during that time...
2015-04-20 (first published: 2015-04-09)
5,080 reads
An Important Rule:
If you’re trying to convince someone to your viewpoint, insulting them generally doesn’t work. If it does anything,...
2015-04-17
311 reads
At the Charlotte BI Group meeting last night, one of the questions I was asked after I gave my talk...
2015-04-16 (first published: 2015-04-08)
5,479 reads
I use PowerShell a lot and I write about using it to solve problems quite frequently. The fact that I...
2015-04-10
684 reads
I use PowerShell a lot and I write about using it to solve problems quite frequently. The fact that I...
2015-04-10
424 reads
I’m a big fan of automation. I’ve been in IT for 27 years now. One unchanging rule during that time...
2015-04-09
311 reads
At the Charlotte BI Group meeting last night, one of the questions I was asked after I gave my talk...
2015-04-08
290 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