Writing Better Emails
In January 2009, I made the transition back to being a senior DBA. One of the first things my manager...
2011-05-04
2,944 reads
In January 2009, I made the transition back to being a senior DBA. One of the first things my manager...
2011-05-04
2,944 reads
If you read the experts, most folks check their emails too many times during the day. Today, while giving a...
2011-05-03
803 reads
I've been dealing with illness the last few weeks, probably due to the rather heavy pollen season here in South...
2011-04-29
1,569 reads
Welcome to PowerShell Week #2 for SQL University! One of the frequent questions I hear is, "Who has access to...
2011-04-26
2,809 reads
You don't want to do so from that web page. Instead you want to go to the Adobe web site...
2011-04-22
1,142 reads
Today on Twitter a friend of mine posted that the AV on his SQL Server flagged two trojans that were...
2011-04-22
718 reads
This evening I received my SQL Connection scores for the following presentations:
Windows Internals for DB ProsFrom the Ramparts: Knowing What...
2011-04-20
1,496 reads
Since going back to being a senior DBA, I've not stayed on top of the latest tools like I did...
2011-04-19
2,091 reads
This is a crucial question with regards to what needs to be done. It really hit home after listening to...
2011-04-18
816 reads
There's an article that's making its way through the SQL Ranks: Consultants are pros, while corporate IT staff are minor...
2011-04-12
1,346 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