Immune Systems, User Groups, Changing Jobs
I've been off-line except for hints here and there for the last couple of weeks due to fighting off an...
2008-12-04
1,081 reads
I've been off-line except for hints here and there for the last couple of weeks due to fighting off an...
2008-12-04
1,081 reads
Speaker: Paul Shearer
Midlands PASS Chapter - December 4, 2008 Meeting
The Midlands PASS chapter will hold our normally scheduled meeting on Thursday,...
2008-12-04
867 reads
Shortly after I gave my presentation Trigger Happy Database Security down in Jacksonville for SQL Saturday #3, I received an...
2008-11-20
871 reads
Speaker: Paul Shearer
Midlands PASS Chapter - December 4, 2008 Meeting
The Midlands PASS chapter will hold our normally scheduled meeting on Thursday,...
2008-11-18
585 reads
I got the email with a Zoomerang survey to vote for the PASS board. All are excellent candidates, but ultimately,...
2008-11-18
960 reads
Illiad has been running a series on his UserFriendly comic strip about veterans. It started on Monday and has continued...
2008-11-14
732 reads
One of the first things I tried to do when logon triggers came out with Service Pack 2 of SQL...
2008-11-14
2,601 reads
I've been asked by a few folks whether or not I'm going to the PASS Summit. The answer is I'm...
2008-11-13
609 reads
In addition to the reading list I'm still struggling to finish, I've always got other books partially started. Maybe that's...
2008-11-07
704 reads
Jason Massie called me out for a new SQL Quiz that was the diabolical idea of Chris Shaw.The gist is...
2008-11-07
1,398 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