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.
The following table specifies the details of family members:
CREATE TABLE family (MemberID int identity(1,1), MemberName varchar(25), MemberAge int) GO