Return segment, response_count, and avg_score rounded to 2 decimals, using only submitted surveys that have a score. A submitted score of 0 is a real response and counts toward both response_count and avg_score. Order by segment.
The database is already loaded with the schema and seed data. You are given nps_by_segment.sql (a query that runs but returns the wrong answer). Fix nps_by_segment.sql so it returns the correct result.