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