The Pixel 6a has an old 12.2MP camera. The Pixel 6 has a newer 50MP camera. It doesn't seem like a fair comparison, but it's closer than you'd think.
Google Pixel 6a review: Look ma, a small phone!
Google Pixel 6a vs. Pixel 6 vs. Pixel 6 Pro
Google Pixel 6 Review: A Clear Winner
Pixel 6a vs. Pixel 6 camera test has a clear winner
Pixel 6a vs Nothing Phone 1 Camera Comparison - No Points For Guessing the Winner!
Google Pixel 6a vs. Pixel 6 Pro: Camera Quality Shoot-Out
Pixel 6a Review: A Mid-Range Smartphone Win For Google - Page 2
Google Pixel 7 vs. Pixel 6a
Google Pixel 7a vs Google Pixel 6a: Should you upgrade? - PhoneArena
Google Pixel 6 Review: A Clear Winner
Pixel 6a vs. Pixel 6 camera test has a clear winner
iPhone 14 Pro vs. Pixel 6 Pro Camera Comparison: A Photo Is Worth $1,000 - CNET
Google Pixel 7 vs. Pixel 6a camera face-off — is the Pixel 7 worth the extra money?