Experts Perspective Webcast: Wait Watchers – Gain Performance Increases Fast
Following in the footsteps of such greats community leaders as Brent Ozar and Kevin Kline I have the opportunity, nay...
2014-08-12
622 reads
Following in the footsteps of such greats community leaders as Brent Ozar and Kevin Kline I have the opportunity, nay...
2014-08-12
622 reads
It’s always an honour to be able to speak at an event, but events can be expensive to attend and...
2014-06-24
697 reads
System databases are often neglected, part of this is due to Microsoft’s message of SQL Server will run and look...
2014-06-12
1,113 reads
Scared? Don’t worry, there is a workaround and a hotfix. More on that in a moment.
This morning I checked my...
2014-06-12 (first published: 2014-06-10)
2,756 reads
If you look online you can find thousands of pages of advice on interviews as well as people asking for...
2014-05-22
905 reads
April was quite a busy month and so apart from the last reflections post and TSQL Tuesday entry Why So Serious...
2014-05-09
690 reads
This month’s T-SQL Tuesday which is now at a staggering number 53, can it really have been going that long?...
2014-04-08
839 reads
After a bit of an enforced sabbatical from blogging (short but boring story), I was interested to see how my...
2014-04-04
681 reads
Today is the eagerly anticipated launch of SQL Server 2014, I have downloaded and installed a copy of the RTM...
2014-04-01
1,110 reads
The driver behind the move
After over two and a half years at my current employers I am afraid to say...
2014-04-01
626 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...
WhatsApp:0817781222 AEON Mall Level B1 Unit No. B1-03, 03A, 05, Jl. MH. Thamrin, Sentul...
WhatsApp:0817781222 Jl. Raya Pajajaran No.5 & 6, RT.08/RW.09, Bantarjati, Kec. Bogor Utara, Kota Bogor,...
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