Question: How many days did the sun rise before 5 AM?
SQL: SELECT COUNT(DISTINCT `date`) AS days FROM weather WHERE sunrise < time('05:00:00')