fbpx

10. Lowest and Highest 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.
 

An online news website uses the following table to summarize the number of reports published by each of the team members. Each row specifies the name of the team member and the number of reports he or she has published.

CREATE TABLE user_posts   
(username varchar(25),   
 num_of_posts 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…