SQL Saturday Southampton Pre-con
It’s been a while since my last pre-con, in fact it’s been a while since my last SQL Saturday with...
2015-10-01
548 reads
It’s been a while since my last pre-con, in fact it’s been a while since my last SQL Saturday with...
2015-10-01
548 reads
Another year, another set of elections. It’s that time where those who care about their industry and the future of...
2015-09-17
657 reads
Deciding to change jobs can be one of the most difficult decisions you can make. At Dell I was part...
2015-08-07
518 reads
Alerts have been around for as long as I can remember, so some time before breakfast. That probably means you...
2015-05-12
1,167 reads
Like most people I have a bucket list of things to do before I depart for other things. However I...
2015-03-13
815 reads
That’s right I’m cashing in on the “50 Shades” franchise and twisting it to meet my own sordid needs to...
2015-03-03
677 reads
A number of you will have heard of SQLBits before. It’s Europe’s largest conference dedicated to SQL Server. What was...
2015-03-02
649 reads
I first came across the error “(Ctrl+E) was pressed. Waiting for the second key of chord…” last year, these weird errors...
2015-01-08
2,188 reads
Today I have the honour of presenting a session for the PASS Database Administration Virtual Chapter. The great thing about...
2014-11-12
693 reads
The Situation
On the 19th November I am going to be presenting two sessions for the Luxembourg PASS chapter at the...
2014-11-12 (first published: 2014-11-07)
6,083 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