# FAQ: Conditional Aggregates - Combining aggregates

This community-built FAQ covers the “Combining aggregates” exercise from the lesson “Conditional Aggregates”.

Paths and Courses
This exercise can be found in the following Codecademy content:

## FAQs on the exercise Combining aggregates

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

## Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply () below!

Agree with a comment or answer? Like () to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

Codecademy’s solution is wrong and correct solution is at the link below

8 Likes

Once again, this module is plagued with unclear instructions. Here’s the text of the exercise:

Using the same pattern, find the percentage of flights from Delta by origin ( `carrier = 'DL'` )

In the query, alias the column as percentage_flight_distance_from_delta.

A literal reading of the first part would have the reader conclude the exercise is to determine the percent of the number of flights organized by origin, which would require a row sum [SUM(*)], but then the alias tells us we’re supposed to find the percentage of flight distance…

Perhaps the test creators are trying to teach future data scientists how to deal with unclear requests from management. Maybe there should be a section on business hermeneutics.

This entire course is disappointing - a lot of unclear instructions, e.g.

"1.
Using the same pattern, find the percentage of flights from Delta by origin (carrier = ‘DL’)

In the query, alias the column as

percentage_flight_distance_from_delta"

“Percentage of flights” would mean number of flights (COUNT), whereas the alias instruction is talking about flight distance (SUM).

Did someone at Codecademy even check before releasing this course? Make it good before you charge money.

I agree with all above. Please tell me this gets better. I thought the beginning SQL stuff was great. But now I’m just clicking through to get to the next topic. and why no cheatsheets?! I use those a lot to study.

I’m finding this course really frustrating and unclear. It feels like it was made in a rush.