2019-02-21
831 reads
2019-02-21
831 reads
2019-02-20
73 reads
We’ve started setting up our SQL in the City Summits for 2019 and the first one is London on April...
2019-02-20
782 reads
2019-02-20
667 reads
At Redgate, we do a lot of research. Maybe not as much as Microsoft Research, but we are always trying...
2019-02-19
867 reads
Steve talks about the level of engineering effort we need in software development.
2019-02-19
91 reads
Triggers can be confusing and complex for many developers new to SQL. Steve Jones gives a few ideas for learning more about this construct as well as practicing writing them.
2019-02-19
3,102 reads
2019-02-19
709 reads
If you’ve had struggles with database development and had a real world disaster, you could win in a new Redgate...
2019-02-18
167 reads
Steve talks about the need to be careful with backups in this age of malicious attackers.
2019-02-18
74 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