5 Things to Know About Indexes for SQL Server
One of the first questions I got while interviewing for a potential position as a DBA was “If there is...
2014-06-25 (first published: 2014-06-19)
6,688 reads
One of the first questions I got while interviewing for a potential position as a DBA was “If there is...
2014-06-25 (first published: 2014-06-19)
6,688 reads
This will be the second SQLSaturday in Houston I have spoken at and I am excited about talking Execution Plans...
2014-05-07
461 reads
So, I am flying home thinking about the event Saturday and many things are running through my head. No, not...
2014-05-05
827 reads
I am excited about being selected to speak and attend the May 3rd SQLSaturday BA Edition in Dallas, TX. There...
2014-04-23
760 reads
Baton Rouge is now on its 6th SQLSaturday and the event grows year after year. It all started with Patrick...
2014-04-11
661 reads
After monitoring enterprise SQL Server instances for over 10 years now, there are 5 tools that are used every day...
2014-04-03 (first published: 2014-03-25)
7,369 reads
Database Normalization
Theoretical versus real-world
There is not a strong need for developers to know the theoretical definition of 1st thru 5th...
2014-03-17 (first published: 2014-03-09)
6,593 reads
Please join the PASS Data Architecture virtual chapter on Thursday Jan 30th at noon central for SQL Server Tips and...
2014-01-28
1,138 reads
Please join the PASS BI/DW VC today January 15th at 7PM Central for a presentation on Attributes and Hierarchies in...
2014-01-15
627 reads
Please join us tonight, Wednesday Jan 8th starting at 5:45PM with networking and food. The information below is from the...
2014-01-08
761 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...
WhatsApp:0817781222 AEON Mall Level B1 Unit No. B1-03, 03A, 05, Jl. MH. Thamrin, Sentul...
WhatsApp:0817781222 Jl. Raya Pajajaran No.5 & 6, RT.08/RW.09, Bantarjati, Kec. Bogor Utara, Kota Bogor,...
Comments posted to this topic are about the item How to connect your SQL...
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