- Updated with sample data and corrected SQL