Two Weeks on the PASS Board
The one absolute promise I made about serving on the PASS Board is that I would let you know what...
2015-01-16
535 reads
The one absolute promise I made about serving on the PASS Board is that I would let you know what...
2015-01-16
535 reads
A while back I wrote about saying “Thank you” to people. Last night I was listening to NPR on my...
2015-01-09
702 reads
This is me on the last cruise
In just a few more weeks I’ll be setting sail on the first of...
2015-01-06
1,095 reads
I love it that my first post of the new year is going to be Speaker of the Month. I’m...
2015-01-02
430 reads
If you get an execution plan that looks like this:
I wouldn’t blame you for immediately thinking about query tuning. Especially...
2014-12-29 (first published: 2014-12-19)
6,169 reads
For the month of November I was at the PASS Summit and Live360, so I didn’t get to find new...
2014-12-08
556 reads
I have been very remiss in my blogging of late. Apologies.
One thing I haven’t blogged about is Speaker of...
2014-12-05
512 reads
For the first time ever at the PASS Summit, a competition was held to select a speaker for the 2015...
2014-11-13
791 reads
I’m just back from the PASS Summit 2014. What a great event. But this year, it was a little different....
2014-11-11
704 reads
Since I’m starting on the board in January, I’ve stopped taking part in the bloggers table during keynotes. First time...
2014-11-06
631 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