New Book: Introduction to SQL Server
Last year, Kevin Kline (blog | twitter) introduced me to Oracle and database expert, Bert Scalzo. Bert was looking to take...
2011-01-19
611 reads
Last year, Kevin Kline (blog | twitter) introduced me to Oracle and database expert, Bert Scalzo. Bert was looking to take...
2011-01-19
611 reads
When I first saw Andy Leonard's post about a new SQL People event, I was intrigued. It's not a training...
2011-01-13
2,512 reads
I know I missed out on the massive meme yesterday (T-SQL Tuesday #14), but I blame dealing with the weather...
2011-01-12
803 reads
I received my notice that I was renewed as a MIcrosoft MVP for SQL Server for 2011. It's a nice...
2011-01-01
789 reads
In previous years I had set goals and even if I didn't fully achieve them, they were helpful in giving...
2010-12-31
2,112 reads
I'm pleased to announce the latest addition to the Kelley family, a beautiful baby girl born at 11:56 PM last...
2010-12-21
721 reads
Monday
PASS Data Warehousing/BI Virual Chapter - SSIS + CDC = SCD - Patrick LeBlanc
Tuesday
Pragmatic Works - Introduction to Performance Tuning Analysis Services 2008 - Chris Webb
Thursday
Pragmatic...
2010-12-17
846 reads
I often say I am where I am in the community because of other folks. As we approach the close...
2010-12-16
734 reads
The PASS Election Review Committee has geared up and we've started looking at the process of the entire election process...
2010-12-15
1,108 reads
This T-SQL Tuesday is hosted by Steve Jones (blog | twitter) and the topic he proposes is: "What issues have you...
2010-12-14
1,308 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