Using SQL to find my best photo of a pelican according to Apple Photos