Celebrating Mistakes-Part 2
I’ve been thinking about this a lot. It’s easy to say we want to take risks, much harder to set...
2011-08-05
1,012 reads
I’ve been thinking about this a lot. It’s easy to say we want to take risks, much harder to set...
2011-08-05
1,012 reads
Hey Yo!! We are primed and ready for this month down in Las Vegas. We have a return presenter and we are looking to get some speed freak on...
2011-08-05
17 reads
Hey Yo!! We are primed and ready for this month down in Las Vegas. We have a return presenter and...
2011-08-05
577 reads
Well at the PASS Summit at least. The Summit is trying to make sure that all of our first timers...
2011-08-05
1,138 reads
I take it for granted that everyone knows all about Microsoft certifications and Microsoft MVP’s. But a few years ago,...
2011-08-05
1,679 reads
PowerPivot – Perspectives
Many times when developing larger Analysis Services cubes you may find it necessary to use Perspectives to logically split...
2011-08-05
4,427 reads
As I mentioned in the introductory post, I’m summarizing posts from previous years in the the past week. Some posts...
2011-08-05
572 reads
Two new TPC-E OLTP Benchmark Submissions have shown up in the last month or so since I last recapped three...
2011-08-05
989 reads
Most of us learn more from mistakes than successes. We talk about taking risks, but what is the average response...
2011-08-04
681 reads
I'm always wary of contests to win free stuff, but the folks running MSSQLTips.com are legitimate (I write there as...
2011-08-04
1,050 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