Now, let’s add a bit of complexity. Imagine you need to identify genres with an average rating exceeding a certain threshold, for instance, 4.5. Here's a way to tackle this: SELECT genre , AVG ( rating ) as average_rating FROM Netflix GROUP BY genre HAVING AVG ( rating ) > 4.5 ; In this SQL statement, after grouping the genres and computing their average ratings, we apply a filter (the HAVING clause) to display only the genres with an average rating surpassing 4.5. Keep in mind that the HAVING clause is utilized alongside the GROUP BY clause and is analogous to the WHERE clause, but it functions on grouped records.