Tell me about your basic database knowledge, solve a C problem, and describe your previous projects.
For the database portion, write a PostgreSQL query using the provided Comcast tables. Return one row per plan with at least one active subscriber, including active subscribers, tickets, resolved tickets, and average resolution time.
Output
- Columns:
plan_name, active_subscriber_count, ticket_count, resolved_ticket_count, avg_resolution_hours
- Include only plans with at least one active subscriber.
- Order by active subscriber count descending, then plan name ascending.