PowerShell takes the Pole at SQLRally!
PowerShell takes the Pole at SQLRally!
PowerShell has taken the Pole for the DBA division at SQLRally! Come see why the...
2011-05-10
719 reads
PowerShell takes the Pole at SQLRally!
PowerShell has taken the Pole for the DBA division at SQLRally! Come see why the...
2011-05-10
719 reads
In developing my data warehouse ETL processes, there are some packages and SQL Agent jobs that are both necessary to the process of deploying a new version of the...
2011-05-10
16 reads
In developing my data warehouse ETL processes, there are some packages and SQL Agent jobs that are both necessary to...
2011-05-10
2,410 reads
In developing my data warehouse ETL processes, there are some packages and SQL Agent jobs that are both necessary to the process of deploying a new version of the...
2011-05-10
30 reads
To CTE or not to CTE, that is the Question So my post really has nothing to do with the title. This is not a post to help you...
2011-05-10
13 reads
To CTE or not to CTE, that is the Question
So my post really has nothing to do with the title....
2011-05-10
697 reads
It’s time for T-SQL Tuesday again, and it’s number 18. Hard to believe it’s been a year and a half...
2011-05-10
953 reads
As a follow up to my SQLRally 2011 Scripting Guy Guest Blog Post which dealt with Excel and Access files,...
2011-05-10
2,356 reads
A quick little tip I found a couple of years ago. Ever use the count(*) syntax and it takes forever...
2011-05-09
588 reads
Study Time!
A few weeks back, I sent a message on the PASSMN LinkedIn group page about expanding the MCM study...
2011-05-09
701 reads
By Steve Jones
A bit of a photo dump, but a few fun memories for me from...
By ReviewMyDB
Part 2 of my What's New in SQL Server for the Developer series. STRING_SPLIT,...
Note: This is more of a note to myself than an attempt to preach...
Hub/Wa. 0817-819-444 Jl. Lingkaran 1 Jl. Dempo Luar No.312 H, 15 Ilir, Kec. Ilir...
Hub/Wa. 0817-819-444 Jl. Nusantara Raya No.15, Depok, Kec. Pancoran Mas, Kota Depok, DKI Jakarta...
Comments posted to this topic are about the item How to connect your SQL...
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