An SQL query to find orphaned image attachments and their meta

An SQL query to find orphaned image attachments and their meta