PASS Summit Session Selection is Open
This year the Program Committee decided to open up the selection process to the community. I'm anxious to see how...
2011-05-11
872 reads
This year the Program Committee decided to open up the selection process to the community. I'm anxious to see how...
2011-05-11
872 reads
My email account started getting notices of Windows patches yesterday, indicating it’s patch week again. If you manage Windows devices,...
2011-05-11
907 reads
If you've ever spent any time doing SSIS development work, you'll eventually come to a point when developing something and...
2011-05-11
1,444 reads
Just wanted to post a quick note/invitation to everyone to come join us on Thursday, May 12th from 5:45-7:00 for...
2011-05-11
377 reads
Whenever you get a call from user that they are facing any performance issue what would you do. As I...
2011-05-11
482 reads
(TSQL Tuesday on Wednesday! - Apologies for the late entry - better late than never)
Today’s topic is CTE’s.Scientifically speaking, solids mostly expand...
2011-05-11
2,040 reads
Frequently, when working with strings you will need to identify, insert or remove spaces before, after or in between characters.
For example, you may...
2011-05-11
3,853 reads
Yes, this is absolutely a shameless post for self-promotion. However, since potential attendees get to offer input into what sessions...
2011-05-11
968 reads
Reprinted from my editorial in Database Weekly.
When I was a junior DBA many years ago (even before the company I...
2011-05-10
567 reads
SQLServerCentral.com will be offering SQL Server tracks at both the upcoming DevConnections in Germany and the UK this June.
The Germany...
2011-05-10
900 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