SQL Saturday #63–Dallas
I have been trying to get to Dallas for a SQL Saturday for nearly a year, when the first event...
2011-04-06
879 reads
I have been trying to get to Dallas for a SQL Saturday for nearly a year, when the first event...
2011-04-06
879 reads
Greetings. Welcome once more to the Miskatonic University branch of SQL University. Does anyone know where to buy some camping...
2011-04-06
903 reads
For Day 5, I will be covering a few tools that can be used for hardware identification. Since quite a...
2011-04-05
630 reads
I opened a new Connect Item today, asking Microsoft to add a new column to the sys.dm_os_sys_info DMV in SQL...
2011-04-05
613 reads
How do you check if you are a sysadmin? It’s fairly easy to do in Management Studio. You can go...
2011-04-05
24,364 reads
For over a week now, Canada has begun its return to appearing to be a democracy thanks to a Liberal...
2011-04-05
1,221 reads
By now, you may have received an email from one of the larger businesses you've given your email address to...
2011-04-05
774 reads
I’m part of a Committee that is dedicated to eliminating discriminatory legislation in Quebec, here’s a statement we released last...
2011-04-05
2,433 reads
Day 5 Programming in Powershell Part 3 Now as you know all information, in this blog we will look for...
2011-04-05
354 reads
Part - 07 Exerpts from "The Tyranny of Bill-101" - Part 07
Commenting on how frustrating it is for DBAs to deal with...
2011-04-05
692 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...
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