fbpx

80. Finding Maximum Values

This advanced SQL exercise is part of the book: Advanced SQL – Practical Techniques and Use-Cases, which includes 100 day-to-day SQL challenges (and solutions), need-to-know advanced features, and key concepts.
 

Given a table that contains the following numbers (each column indicates a digit):

  • 1003,1102,1094,1300
  • 2009,2104,2200,2401

CREATE TABLE Digits
(digit1 int,
digit2 int,
digit3 int,
digit4 int)
GO

To read more

UpScale Analytics is one of the largest platforms in the world for learning SQL by doing, consisting over 300 SQL exercises at different levels (including solutions), by topics, across over 100 different datasets. More…