In beginner SQL, the majority of queries are centered around returning a single piece of information, or a single piece of information per group. As we get more and more advanced, it becomes clear that by doing this, some of the information can get lost and that there is much…